pub struct TypeScale {
pub display: TypeStyle,
pub h1: TypeStyle,
pub h2: TypeStyle,
pub body: TypeStyle,
pub caption: TypeStyle,
pub code: TypeStyle,
}Expand description
Display, headings, body, caption and code.
Fields§
§display: TypeStyleThe largest title.
h1: TypeStylePage title.
h2: TypeStyleSection title.
body: TypeStyleRunning text.
caption: TypeStyleSecondary text.
code: TypeStyleMonospace.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeScale
impl RefUnwindSafe for TypeScale
impl Send for TypeScale
impl Sync for TypeScale
impl Unpin for TypeScale
impl UnsafeUnpin for TypeScale
impl UnwindSafe for TypeScale
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