pub enum Gap {
None,
Xs,
Sm,
Md,
Lg,
Other(String),
}Expand description
Space between children, or a spacer’s height.
Variants§
None
None.
Xs
2px.
Sm
6px.
Md
10px (12px for a spacer).
Lg
16px (20px for a spacer).
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
impl Eq for Gap
impl StructuralPartialEq for Gap
Auto Trait Implementations§
impl Freeze for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnsafeUnpin for Gap
impl UnwindSafe for Gap
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