Enum ttf_parser::Weight
source · [−]pub enum Weight {
Thin,
ExtraLight,
Light,
Normal,
Medium,
SemiBold,
Bold,
ExtraBold,
Black,
Other(u16),
}
Expand description
A face weight.
Variants
Thin
ExtraLight
Light
Normal
Medium
SemiBold
Bold
ExtraBold
Black
Other(u16)
Implementations
Trait Implementations
impl Copy for Weight
impl Eq for Weight
impl StructuralEq 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