pub enum SpacingStep {
Xs,
Sm,
Md,
Lg,
Xl,
Xxl,
Xxxl,
}Expand description
A named step within the spacing scale.
Variants§
Xs
Extra-small spacing (tightest).
Sm
Small spacing.
Md
Medium spacing.
Lg
Large spacing.
Xl
Extra-large spacing.
Xxl
Double extra-large spacing.
Xxxl
Triple extra-large spacing (loosest).
Trait Implementations§
Source§impl Clone for SpacingStep
impl Clone for SpacingStep
Source§fn clone(&self) -> SpacingStep
fn clone(&self) -> SpacingStep
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 moreSource§impl Debug for SpacingStep
impl Debug for SpacingStep
Source§impl PartialEq for SpacingStep
impl PartialEq for SpacingStep
Source§fn eq(&self, other: &SpacingStep) -> bool
fn eq(&self, other: &SpacingStep) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SpacingStep
impl Eq for SpacingStep
impl StructuralPartialEq for SpacingStep
Auto Trait Implementations§
impl Freeze for SpacingStep
impl RefUnwindSafe for SpacingStep
impl Send for SpacingStep
impl Sync for SpacingStep
impl Unpin for SpacingStep
impl UnsafeUnpin for SpacingStep
impl UnwindSafe for SpacingStep
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