pub struct Stretch(/* private fields */);
Expand description
Stretch of a font.
Implementations§
Source§impl Stretch
impl Stretch
Sourcepub const ULTRA_CONDENSED: Self
pub const ULTRA_CONDENSED: Self
Character width 50% of normal.
Sourcepub const EXTRA_CONDENSED: Self
pub const EXTRA_CONDENSED: Self
Character width 62.5% of normal.
Sourcepub const SEMI_CONDENSED: Self
pub const SEMI_CONDENSED: Self
Character width 87.5% of normal.
Sourcepub const SEMI_EXPANDED: Self
pub const SEMI_EXPANDED: Self
Character width 112.5% of normal.
Sourcepub const EXTRA_EXPANDED: Self
pub const EXTRA_EXPANDED: Self
Character width 150% of normal.
Sourcepub const ULTRA_EXPANDED: Self
pub const ULTRA_EXPANDED: Self
Character width 200% of normal.
Trait Implementations§
impl Copy for Stretch
impl StructuralPartialEq for Stretch
Auto Trait Implementations§
impl Freeze for Stretch
impl RefUnwindSafe for Stretch
impl Send for Stretch
impl Sync for Stretch
impl Unpin for Stretch
impl UnwindSafe for Stretch
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