pub struct ToolbarSizingTokens {Show 20 fields
pub left_width: f32,
pub bottom_height: f32,
pub right_icon_width: f32,
pub right_panel_width: f32,
pub button_width: f32,
pub button_height: f32,
pub hover_margin_h: f32,
pub hover_margin_v: f32,
pub inner_rounding: f32,
pub icon_size: f32,
pub separator_margin: f32,
pub separator_gap: f32,
pub right_sidebar_width: f32,
pub right_btn_size: f32,
pub right_icon_size: f32,
pub right_btn_spacing: f32,
pub right_hover_margin: f32,
pub right_hover_rounding: f32,
pub separator_height: f32,
pub separator_width: f32,
}Expand description
Toolbar dimensions (left, bottom and right panels and button sizes).
Fields§
§left_width: f32Left width, in egui logical points.
bottom_height: f32Bottom height, in egui logical points.
right_icon_width: f32Right icon width, in egui logical points.
right_panel_width: f32Right panel width, in egui logical points.
Button width, in egui logical points.
Button height, in egui logical points.
hover_margin_h: f32Horizontal hover margin, in egui logical points.
hover_margin_v: f32Vertical hover margin, in egui logical points.
inner_rounding: f32Inner rounding, in egui logical points.
icon_size: f32Icon size, in egui logical points.
separator_margin: f32Separator margin, in egui logical points.
separator_gap: f32Separator gap, in egui logical points.
Right sidebar width, in egui logical points.
right_btn_size: f32Right button size, in egui logical points.
right_icon_size: f32Right icon size, in egui logical points.
right_btn_spacing: f32Right button spacing, in egui logical points.
right_hover_margin: f32Right hover margin, in egui logical points.
right_hover_rounding: f32Right hover rounding, in egui logical points.
separator_height: f32Separator height, in egui logical points.
separator_width: f32Separator width, in egui logical points.
Trait Implementations§
Source§impl Clone for ToolbarSizingTokens
impl Clone for ToolbarSizingTokens
Source§fn clone(&self) -> ToolbarSizingTokens
fn clone(&self) -> ToolbarSizingTokens
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ToolbarSizingTokens
impl RefUnwindSafe for ToolbarSizingTokens
impl Send for ToolbarSizingTokens
impl Sync for ToolbarSizingTokens
impl Unpin for ToolbarSizingTokens
impl UnsafeUnpin for ToolbarSizingTokens
impl UnwindSafe for ToolbarSizingTokens
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
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> ⓘ
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> ⓘ
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