pub enum Weight {
Heavy,
ExtraBold,
Bold,
SemiBold,
Medium,
Regular,
Light,
ExtraLight,
HairLine,
}
Variants
Heavy
ExtraBold
Bold
SemiBold
Medium
Regular
Light
ExtraLight
HairLine
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Weight
impl<'de> Deserialize<'de> for Weight
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Weight> for Weight
impl PartialEq<Weight> for Weight
impl StructuralPartialEq for Weight
Auto Trait Implementations
impl RefUnwindSafe for Weight
impl Send for Weight
impl Sync for Weight
impl Unpin for Weight
impl UnwindSafe for Weight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more