[][src]Struct azul_core::app_resources::LoadedFontSource

pub struct LoadedFontSource {
    pub font_bytes: Vec<u8>,
    pub font_index: i32,
    pub font_metrics: FontMetrics,
}

Fields

font_bytes: Vec<u8>

Bytes of the font file

font_index: i32

Index of the font in the file (if not known, set to 0) - only relevant if the file is a font collection

font_metrics: FontMetrics

Important baseline / character metrics of the font

Trait Implementations

impl Clone for LoadedFontSource[src]

impl Debug for LoadedFontSource[src]

impl Eq for LoadedFontSource[src]

impl Hash for LoadedFontSource[src]

impl PartialEq<LoadedFontSource> for LoadedFontSource[src]

impl StructuralEq for LoadedFontSource[src]

impl StructuralPartialEq for LoadedFontSource[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, 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.