#[repr(C)]pub enum FcWeight {
Thin = 100,
ExtraLight = 200,
Light = 300,
Normal = 400,
Medium = 500,
SemiBold = 600,
Bold = 700,
ExtraBold = 800,
Black = 900,
}Expand description
Font weight values as defined in CSS specification
Variants§
Thin = 100
ExtraLight = 200
Light = 300
Normal = 400
Medium = 500
SemiBold = 600
Bold = 700
ExtraBold = 800
Black = 900
Implementations§
Trait Implementations§
Source§impl Ord for FcWeight
impl Ord for FcWeight
Source§impl PartialOrd for FcWeight
impl PartialOrd for FcWeight
impl Copy for FcWeight
impl Eq for FcWeight
impl StructuralPartialEq for FcWeight
Auto Trait Implementations§
impl Freeze for FcWeight
impl RefUnwindSafe for FcWeight
impl Send for FcWeight
impl Sync for FcWeight
impl Unpin for FcWeight
impl UnwindSafe for FcWeight
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more