pub struct SpacingScale {
pub xs: f32,
pub sm: f32,
pub md: f32,
pub lg: f32,
pub xl: f32,
pub indent: f32,
}Expand description
Values of the spacing tokens, in logical units.
Fields§
§xs: f32§sm: f32§md: f32§lg: f32§xl: f32§indent: f32A tree’s indentation per level.
Implementations§
Trait Implementations§
Source§impl Clone for SpacingScale
impl Clone for SpacingScale
impl Copy for SpacingScale
Source§impl Debug for SpacingScale
impl Debug for SpacingScale
Source§impl PartialEq for SpacingScale
impl PartialEq for SpacingScale
impl StructuralPartialEq for SpacingScale
Auto Trait Implementations§
impl Forget for SpacingScale
impl Freeze for SpacingScale
impl Move for SpacingScale
impl RefUnwindSafe for SpacingScale
impl Send for SpacingScale
impl Sync for SpacingScale
impl Unpin for SpacingScale
impl UnsafeUnpin for SpacingScale
impl UnwindSafe for SpacingScale
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