pub struct LiquidTypography {
pub large_title: TextStyle,
pub title1: TextStyle,
pub title2: TextStyle,
pub title3: TextStyle,
pub headline: TextStyle,
pub body: TextStyle,
pub callout: TextStyle,
pub subheadline: TextStyle,
pub footnote: TextStyle,
pub caption1: TextStyle,
pub caption2: TextStyle,
}Expand description
The iOS text-style ramp as ready-to-use TextStyles (colors come from
LiquidColors::label by default at the call site).
Fields§
§large_title: TextStyle§title1: TextStyle§title2: TextStyle§title3: TextStyle§headline: TextStyle§body: TextStyle§callout: TextStyle§subheadline: TextStyle§footnote: TextStyle§caption1: TextStyle§caption2: TextStyleTrait Implementations§
Source§impl Clone for LiquidTypography
impl Clone for LiquidTypography
Source§fn clone(&self) -> LiquidTypography
fn clone(&self) -> LiquidTypography
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 LiquidTypography
impl Debug for LiquidTypography
Source§impl Default for LiquidTypography
impl Default for LiquidTypography
Source§impl PartialEq for LiquidTypography
impl PartialEq for LiquidTypography
impl StructuralPartialEq for LiquidTypography
Auto Trait Implementations§
impl Freeze for LiquidTypography
impl RefUnwindSafe for LiquidTypography
impl Send for LiquidTypography
impl Sync for LiquidTypography
impl Unpin for LiquidTypography
impl UnsafeUnpin for LiquidTypography
impl UnwindSafe for LiquidTypography
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