pub struct ToolbarConfig {
pub density: ToolbarDensity,
pub icons: ToolbarIcons,
pub show_tooltips: bool,
}Expand description
Configuration for the dialog top toolbar (“chrome”).
Fields§
§density: ToolbarDensityDensity preset affecting padding/spacing.
icons: ToolbarIconsOptional icon glyphs for toolbar buttons.
show_tooltips: boolWhether to show tooltips for toolbar controls.
Trait Implementations§
Source§impl Clone for ToolbarConfig
impl Clone for ToolbarConfig
Source§fn clone(&self) -> ToolbarConfig
fn clone(&self) -> ToolbarConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolbarConfig
impl Debug for ToolbarConfig
Auto Trait Implementations§
impl Freeze for ToolbarConfig
impl RefUnwindSafe for ToolbarConfig
impl Send for ToolbarConfig
impl Sync for ToolbarConfig
impl Unpin for ToolbarConfig
impl UnsafeUnpin for ToolbarConfig
impl UnwindSafe for ToolbarConfig
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