Struct font_kit::properties::Stretch [−][src]
pub struct Stretch(pub f32);
Expand description
The width of a font as an approximate fraction of the normal width.
Widths range from 0.5 to 2.0 inclusive, with 1.0 as the normal width.
Implementations
Ultra-condensed width (50%), the narrowest possible.
Extra-condensed width (62.5%).
Semi-condensed width (87.5%).
Semi-expanded width (112.5%).
Extra-expanded width (150%).
Ultra-expanded width (200%), the widest possible.
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 Stretchimpl UnwindSafe for StretchBlanket Implementations
Mutably borrows from an owned value. Read more