pub struct FloatingToolbarSizingTokens {
pub default_x: f32,
pub default_y: f32,
pub drag_handle_width: f32,
pub button_size: f32,
pub color_size: f32,
pub separator_width: f32,
pub drag_handle_height: f32,
pub height: f32,
pub dot_size: f32,
pub dot_spacing: f32,
pub separator_height: f32,
}Expand description
Floating toolbar sizing defaults in egui logical points.
Fields§
§default_x: f32Horizontal default, in egui logical points.
default_y: f32Vertical default, in egui logical points.
drag_handle_width: f32Drag handle width, in egui logical points.
Button size, in egui logical points.
color_size: f32Color swatch size, in egui logical points.
separator_width: f32Separator width, in egui logical points.
drag_handle_height: f32Drag handle height, in egui logical points.
height: f32Height, in egui logical points.
dot_size: f32Dot size, in egui logical points.
dot_spacing: f32Dot spacing, in egui logical points.
separator_height: f32Separator height, in egui logical points.
Trait Implementations§
Source§impl Clone for FloatingToolbarSizingTokens
impl Clone for FloatingToolbarSizingTokens
Source§fn clone(&self) -> FloatingToolbarSizingTokens
fn clone(&self) -> FloatingToolbarSizingTokens
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 FloatingToolbarSizingTokens
impl RefUnwindSafe for FloatingToolbarSizingTokens
impl Send for FloatingToolbarSizingTokens
impl Sync for FloatingToolbarSizingTokens
impl Unpin for FloatingToolbarSizingTokens
impl UnsafeUnpin for FloatingToolbarSizingTokens
impl UnwindSafe for FloatingToolbarSizingTokens
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