pub struct Spacing {
pub s1: f32,
pub s2: f32,
pub s3: f32,
pub s4: f32,
pub s5: f32,
pub s6: f32,
pub s8: f32,
pub s12: f32,
}Expand description
The 4px spacing grid (space-* tokens).
Fields§
§s1: f32space-1: 4 logical pixels.
s2: f32space-2: 8 logical pixels.
s3: f32space-3: 12 logical pixels.
s4: f32space-4: 16 logical pixels.
s5: f32space-5: 20 logical pixels.
s6: f32space-6: 24 logical pixels.
s8: f32space-8: 32 logical pixels.
s12: f32space-12: 48 logical pixels.
Trait Implementations§
impl Copy 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