pub struct SpacingScale {
pub unit: f32,
}Expand description
Spacing scale configuration
Fields§
§unit: f32Base spacing unit (e.g., 4px)
Implementations§
Trait Implementations§
Source§impl Clone for SpacingScale
impl Clone for SpacingScale
Source§fn clone(&self) -> SpacingScale
fn clone(&self) -> SpacingScale
Returns a duplicate of the value. Read more
1.0.0 · 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 SpacingScale
impl Debug for SpacingScale
Source§impl<'de> Deserialize<'de> for SpacingScale
impl<'de> Deserialize<'de> for SpacingScale
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SpacingScale
impl PartialEq for SpacingScale
Source§impl Serialize for SpacingScale
impl Serialize for SpacingScale
impl StructuralPartialEq for SpacingScale
Auto Trait Implementations§
impl Freeze for SpacingScale
impl RefUnwindSafe for SpacingScale
impl Send for SpacingScale
impl Sync for SpacingScale
impl Unpin 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