#[repr(u16)]pub enum TypeRole {
Display = 1,
Headline = 2,
Title = 3,
Subtitle = 4,
Body = 5,
BodyStrong = 6,
Label = 7,
Caption = 8,
Mono = 9,
}Variants§
Display = 1
Headline = 2
Title = 3
Subtitle = 4
Body = 5
BodyStrong = 6
Label = 7
Caption = 8
Mono = 9
Trait Implementations§
impl Copy for TypeRole
impl Eq for TypeRole
impl StructuralPartialEq for TypeRole
Auto Trait Implementations§
impl Freeze for TypeRole
impl RefUnwindSafe for TypeRole
impl Send for TypeRole
impl Sync for TypeRole
impl Unpin for TypeRole
impl UnsafeUnpin for TypeRole
impl UnwindSafe for TypeRole
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