pub enum TextStyleKind {
Button,
Body,
Headline,
Subhead,
Smallprint,
Oversized,
Custom {
value: u32,
},
}
Expand description
Representing default identifiers of TextStyle
s.
Can be extended with Custom by using concrete project values.
Variants§
Button
Button text style
Body
Body text style
Headline
Headline text style
Subhead
Subhead text style
Smallprint
Smallprint text style
Oversized
Oversized text style
Custom
Allows TextStyleKind to be extended (e.g. for using project specific text styles).
Trait Implementations§
Source§impl Clone for TextStyleKind
impl Clone for TextStyleKind
Source§fn clone(&self) -> TextStyleKind
fn clone(&self) -> TextStyleKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TextStyleKind
impl Debug for TextStyleKind
Source§impl PartialEq for TextStyleKind
impl PartialEq for TextStyleKind
impl Copy for TextStyleKind
impl Eq for TextStyleKind
impl StructuralPartialEq for TextStyleKind
Auto Trait Implementations§
impl Freeze for TextStyleKind
impl RefUnwindSafe for TextStyleKind
impl Send for TextStyleKind
impl Sync for TextStyleKind
impl Unpin for TextStyleKind
impl UnwindSafe for TextStyleKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Fr, To> IntoColor<To> for Frwhere
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Frwhere
To: FromColor<Fr>,
Source§fn into_color(self) -> To
fn into_color(self) -> To
Convert into color