pub struct ResolvedSpacing {
pub xxs: f32,
pub xs: f32,
pub s: f32,
pub m: f32,
pub l: f32,
pub xl: f32,
pub xxl: f32,
}Expand description
A fully resolved spacing scale where every tier is guaranteed populated.
Fields§
§xxs: f32Extra-extra-small spacing in logical pixels.
xs: f32Extra-small spacing in logical pixels.
s: f32Small spacing in logical pixels.
m: f32Medium spacing in logical pixels.
l: f32Large spacing in logical pixels.
xl: f32Extra-large spacing in logical pixels.
xxl: f32Extra-extra-large spacing in logical pixels.
Trait Implementations§
Source§impl Clone for ResolvedSpacing
impl Clone for ResolvedSpacing
Source§fn clone(&self) -> ResolvedSpacing
fn clone(&self) -> ResolvedSpacing
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 ResolvedSpacing
impl Debug for ResolvedSpacing
Source§impl PartialEq for ResolvedSpacing
impl PartialEq for ResolvedSpacing
impl StructuralPartialEq for ResolvedSpacing
Auto Trait Implementations§
impl Freeze for ResolvedSpacing
impl RefUnwindSafe for ResolvedSpacing
impl Send for ResolvedSpacing
impl Sync for ResolvedSpacing
impl Unpin for ResolvedSpacing
impl UnsafeUnpin for ResolvedSpacing
impl UnwindSafe for ResolvedSpacing
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