[−][src]Struct font_kit::properties::Stretch
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.
Methods
impl Stretch
[src]
pub const ULTRA_CONDENSED: Stretch
[src]
Ultra-condensed width (50%), the narrowest possible.
pub const EXTRA_CONDENSED: Stretch
[src]
Extra-condensed width (62.5%).
pub const CONDENSED: Stretch
[src]
Condensed width (75%).
pub const SEMI_CONDENSED: Stretch
[src]
Semi-condensed width (87.5%).
pub const NORMAL: Stretch
[src]
Normal width (100%).
pub const SEMI_EXPANDED: Stretch
[src]
Semi-expanded width (112.5%).
pub const EXPANDED: Stretch
[src]
Expanded width (125%).
pub const EXTRA_EXPANDED: Stretch
[src]
Extra-expanded width (150%).
pub const ULTRA_EXPANDED: Stretch
[src]
Ultra-expanded width (200%), the widest possible.
Trait Implementations
impl Clone for Stretch
[src]
fn clone(&self) -> Stretch
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Stretch
[src]
impl PartialOrd<Stretch> for Stretch
[src]
fn partial_cmp(&self, other: &Stretch) -> Option<Ordering>
[src]
fn lt(&self, other: &Stretch) -> bool
[src]
fn le(&self, other: &Stretch) -> bool
[src]
fn gt(&self, other: &Stretch) -> bool
[src]
fn ge(&self, other: &Stretch) -> bool
[src]
impl PartialEq<Stretch> for Stretch
[src]
impl Copy for Stretch
[src]
impl Debug for Stretch
[src]
Auto Trait Implementations
impl Sync for Stretch
impl Send for Stretch
impl Unpin for Stretch
impl RefUnwindSafe for Stretch
impl UnwindSafe for Stretch
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,