pub struct ResolvedThemeSpacing {
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 ResolvedThemeSpacing
impl Clone for ResolvedThemeSpacing
Source§fn clone(&self) -> ResolvedThemeSpacing
fn clone(&self) -> ResolvedThemeSpacing
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 ResolvedThemeSpacing
impl Debug for ResolvedThemeSpacing
Source§impl<'de> Deserialize<'de> for ResolvedThemeSpacing
impl<'de> Deserialize<'de> for ResolvedThemeSpacing
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 ResolvedThemeSpacing
impl PartialEq for ResolvedThemeSpacing
Source§impl Serialize for ResolvedThemeSpacing
impl Serialize for ResolvedThemeSpacing
impl StructuralPartialEq for ResolvedThemeSpacing
Auto Trait Implementations§
impl Freeze for ResolvedThemeSpacing
impl RefUnwindSafe for ResolvedThemeSpacing
impl Send for ResolvedThemeSpacing
impl Sync for ResolvedThemeSpacing
impl Unpin for ResolvedThemeSpacing
impl UnsafeUnpin for ResolvedThemeSpacing
impl UnwindSafe for ResolvedThemeSpacing
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