pub enum TextWeight {
Thin = 100,
UltraLight = 200,
Light = 300,
SemiLight = 350,
Book = 380,
Normal = 400,
Medium = 500,
SemiBold = 600,
Bold = 700,
UltraBold = 800,
Heavy = 900,
UltraHeavy = 1_000,
}
Variants§
Thin = 100
UltraLight = 200
Light = 300
SemiLight = 350
Book = 380
Normal = 400
Medium = 500
SemiBold = 600
Bold = 700
UltraBold = 800
Heavy = 900
UltraHeavy = 1_000
Trait Implementations§
Source§impl Clone for TextWeight
impl Clone for TextWeight
Source§fn clone(&self) -> TextWeight
fn clone(&self) -> TextWeight
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 TextWeight
impl Debug for TextWeight
Source§impl Default for TextWeight
impl Default for TextWeight
Source§fn default() -> TextWeight
fn default() -> TextWeight
Returns the “default value” for a type. Read more
impl Copy for TextWeight
Auto Trait Implementations§
impl Freeze for TextWeight
impl RefUnwindSafe for TextWeight
impl Send for TextWeight
impl Sync for TextWeight
impl Unpin for TextWeight
impl UnwindSafe for TextWeight
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