Struct font_kit::properties::Weight [−][src]
pub struct Weight(pub f32);
Expand description
The degree of blackness or stroke thickness of a font. This value ranges from 100.0 to 900.0, with 400.0 as normal.
Implementations
Extra light weight (200).
Extra-bold weight (800).
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Weight
impl UnwindSafe for Weight
Blanket Implementations
Mutably borrows from an owned value. Read more