pub struct AnnotationSizingTokens {
pub label_padding_x: f32,
pub label_padding_y: f32,
pub callout_padding_x: f32,
pub callout_padding_y: f32,
pub pointer_size: f32,
pub table_cell_width: f32,
pub table_cell_height: f32,
pub table_header_height: f32,
pub signpost_padding_x: f32,
pub text_padding_y: f32,
}Expand description
Annotation sizing defaults in egui logical points.
Fields§
§label_padding_x: f32Horizontal label padding, in egui logical points.
label_padding_y: f32Vertical label padding, in egui logical points.
callout_padding_x: f32Horizontal callout padding, in egui logical points.
callout_padding_y: f32Vertical callout padding, in egui logical points.
pointer_size: f32Pointer size, in egui logical points.
table_cell_width: f32Table cell width, in egui logical points.
table_cell_height: f32Table cell height, in egui logical points.
table_header_height: f32Table header height, in egui logical points.
signpost_padding_x: f32Horizontal signpost padding, in egui logical points.
text_padding_y: f32Vertical text padding, in egui logical points.
Trait Implementations§
Source§impl Clone for AnnotationSizingTokens
impl Clone for AnnotationSizingTokens
Source§fn clone(&self) -> AnnotationSizingTokens
fn clone(&self) -> AnnotationSizingTokens
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnnotationSizingTokens
impl RefUnwindSafe for AnnotationSizingTokens
impl Send for AnnotationSizingTokens
impl Sync for AnnotationSizingTokens
impl Unpin for AnnotationSizingTokens
impl UnsafeUnpin for AnnotationSizingTokens
impl UnwindSafe for AnnotationSizingTokens
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more