[][src]Struct azul_core::app_resources::LoadedFont

pub struct LoadedFont {
    pub font_key: FontKey,
    pub font_bytes: Vec<u8>,
    pub font_index: i32,
    pub font_instances: FastHashMap<Au, FontInstanceKey>,
    pub font_metrics: FontMetrics,
}

Fields

font_key: FontKeyfont_bytes: Vec<u8>font_index: i32

Index of the font in case the bytes indicate a font collection

font_instances: FastHashMap<Au, FontInstanceKey>font_metrics: FontMetrics

Implementations

impl LoadedFont[src]

pub fn delete_font_instance(&mut self, size: &Au)[src]

Trait Implementations

impl Clone for LoadedFont[src]

impl Debug for LoadedFont[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.