pub enum TypeRole {
Show 15 variants
BodyLarge,
BodyMedium,
BodySmall,
DisplayLarge,
DisplayMedium,
DisplaySmall,
HeadlineLarge,
HeadlineMedium,
HeadlineSmall,
LabelLarge,
LabelMedium,
LabelSmall,
TitleLarge,
TitleMedium,
TitleSmall,
}Expand description
One of the fifteen Material text roles.
Variants§
BodyLarge
BodyMedium
BodySmall
DisplayLarge
DisplayMedium
DisplaySmall
HeadlineLarge
HeadlineMedium
HeadlineSmall
LabelLarge
LabelMedium
LabelSmall
TitleLarge
TitleMedium
TitleSmall
Implementations§
Trait Implementations§
impl Copy for TypeRole
impl Eq for TypeRole
impl StructuralPartialEq for TypeRole
Auto Trait Implementations§
impl Forget for TypeRole
impl Freeze for TypeRole
impl Move 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