pub struct SpacingScale { /* private fields */ }Expand description
A numeric spacing scale.
Implementations§
Source§impl SpacingScale
impl SpacingScale
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 (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 SpacingScale
impl Debug for SpacingScale
Source§impl Hash for SpacingScale
impl Hash for SpacingScale
Source§impl Ord for SpacingScale
impl Ord for SpacingScale
Source§fn cmp(&self, other: &SpacingScale) -> Ordering
fn cmp(&self, other: &SpacingScale) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpacingScale
impl PartialEq for SpacingScale
Source§fn eq(&self, other: &SpacingScale) -> bool
fn eq(&self, other: &SpacingScale) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SpacingScale
impl PartialOrd for SpacingScale
impl Copy for SpacingScale
impl Eq 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 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