pub enum Spacing {
None,
Xs,
Sm,
Md,
Lg,
Xl,
Indent,
}Expand description
Spacing tokens. Each backend decides what they mean, so spacing follows the platform’s design language (e.g. HIG vs Fluent vs GNOME HIG).
Variants§
None
Xs
Sm
Md
Lg
Xl
Indent
How far the platform indents each level of a tree or outline: for rows nested under others, as its own trees nest them.
Trait Implementations§
impl Copy for Spacing
impl Eq for Spacing
impl StructuralPartialEq for Spacing
Auto Trait Implementations§
impl Freeze for Spacing
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnsafeUnpin for Spacing
impl UnwindSafe for Spacing
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