pub enum ToolbarDensity {
Normal,
Compact,
Spacious,
}Expand description
Density preset for the dialog top toolbar (“chrome”).
Variants§
Normal
Use the host’s default Dear ImGui style values.
Compact
Reduce padding and spacing to fit more controls (IGFD-like).
Spacious
Increase padding and spacing for touch-friendly UIs.
Trait Implementations§
Source§impl Clone for ToolbarDensity
impl Clone for ToolbarDensity
Source§fn clone(&self) -> ToolbarDensity
fn clone(&self) -> ToolbarDensity
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 ToolbarDensity
impl Debug for ToolbarDensity
Source§impl Default for ToolbarDensity
impl Default for ToolbarDensity
Source§fn default() -> ToolbarDensity
fn default() -> ToolbarDensity
Returns the “default value” for a type. Read more
Source§impl PartialEq for ToolbarDensity
impl PartialEq for ToolbarDensity
impl Copy for ToolbarDensity
impl Eq for ToolbarDensity
impl StructuralPartialEq for ToolbarDensity
Auto Trait Implementations§
impl Freeze for ToolbarDensity
impl RefUnwindSafe for ToolbarDensity
impl Send for ToolbarDensity
impl Sync for ToolbarDensity
impl Unpin for ToolbarDensity
impl UnsafeUnpin for ToolbarDensity
impl UnwindSafe for ToolbarDensity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.