pub struct Typography {
pub metric: TypeStyle,
pub display: TypeStyle,
pub title: TypeStyle,
pub headline: TypeStyle,
pub body: TypeStyle,
pub callout: TypeStyle,
pub caption: TypeStyle,
}Fields§
§metric: TypeStyleStyle for TextStyle::Metric.
display: TypeStyleStyle for TextStyle::Display.
title: TypeStyleStyle for TextStyle::Title.
headline: TypeStyleStyle for TextStyle::Headline.
body: TypeStyleStyle for TextStyle::Body.
callout: TypeStyleStyle for TextStyle::Callout.
caption: TypeStyleStyle for TextStyle::Caption.
Implementations§
Source§impl Typography
impl Typography
Trait Implementations§
Source§impl Clone for Typography
impl Clone for Typography
Source§fn clone(&self) -> Typography
fn clone(&self) -> Typography
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 moreimpl Copy for Typography
Source§impl Debug for Typography
impl Debug for Typography
Source§impl PartialEq for Typography
impl PartialEq for Typography
impl StructuralPartialEq for Typography
Auto Trait Implementations§
impl Freeze for Typography
impl RefUnwindSafe for Typography
impl Send for Typography
impl Sync for Typography
impl Unpin for Typography
impl UnsafeUnpin for Typography
impl UnwindSafe for Typography
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