[][src]Enum azul_core::app_resources::FontSource

pub enum FontSource {
    Embedded(&'static [u8]),
    File(PathBuf),
    System(String),
}

Variants

Embedded(&'static [u8])

The font is embedded inside the binary file

File(PathBuf)

The font is loaded from a file

System(String)

The font is a system built-in font

Trait Implementations

impl Clone for FontSource[src]

impl Debug for FontSource[src]

impl Display for FontSource[src]

impl Eq for FontSource[src]

impl Hash for FontSource[src]

impl Ord for FontSource[src]

impl PartialEq<FontSource> for FontSource[src]

impl PartialOrd<FontSource> for FontSource[src]

impl StructuralEq for FontSource[src]

impl StructuralPartialEq for FontSource[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.