pub enum EuvTextVariant {
Body,
Title,
TitleLg,
TitleSm,
Paragraph,
Secondary,
Mono,
Deletion,
Underline,
}Expand description
The typographic role a piece of text plays.
The roles map one-to-one onto the registry’s text classes, so a caller can pick the role without knowing the class names.
Variants§
Body
Running text at the body size.
Title
A section headline.
TitleLg
A page headline, the largest of the three.
TitleSm
A sub-headline, the smallest of the three.
Paragraph
A paragraph of running text.
Secondary
Supporting text in the muted style.
Mono
Text in the monospace style, for code and identifiers.
Deletion
Text marked as removed.
Underline
Text marked as inserted.
Trait Implementations§
Source§impl Clone for EuvTextVariant
impl Clone for EuvTextVariant
impl Copy for EuvTextVariant
Source§impl Debug for EuvTextVariant
impl Debug for EuvTextVariant
Source§impl Default for EuvTextVariant
impl Default for EuvTextVariant
impl Eq for EuvTextVariant
Source§impl PartialEq for EuvTextVariant
impl PartialEq for EuvTextVariant
impl StructuralPartialEq for EuvTextVariant
Auto Trait Implementations§
impl Freeze for EuvTextVariant
impl RefUnwindSafe for EuvTextVariant
impl Send for EuvTextVariant
impl Sync for EuvTextVariant
impl Unpin for EuvTextVariant
impl UnsafeUnpin for EuvTextVariant
impl UnwindSafe for EuvTextVariant
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