[][src]Enum polyhorn_ios::font::GenericFontFamily

pub enum GenericFontFamily {
    Serif,
    SansSerif,
    Monospace,
}

Polyhorn provides a few generic font families that can be used to get a system-provided typeface in a particular category that looks best on a user's display. The default generic font family is SansSerif.

Variants

Serif

This generic font style has serifs attached to the glyphs. Serifs are those pointy spikes at the extremes of (mostly) uppercase letters. This style is commonly used for newspaper headings.

SansSerif

This generic font style has no serifs. This type of font is commonly used for the main text.

Monospace

This generic font style has glyphs of equal width. This type of font is commonly used in code editors where each letter and symbol should have equal width.

Trait Implementations

impl Clone for GenericFontFamily[src]

impl Copy for GenericFontFamily[src]

impl Debug for GenericFontFamily[src]

impl Default for GenericFontFamily[src]

impl Eq for GenericFontFamily[src]

impl FromStr for GenericFontFamily[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl PartialEq<GenericFontFamily> for GenericFontFamily[src]

impl StructuralEq for GenericFontFamily[src]

impl StructuralPartialEq for GenericFontFamily[src]

impl ToTokens for GenericFontFamily[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IsDefault for T where
    T: PartialEq<T> + Default + Copy
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.