Struct font_kit::loader::FallbackFont[][src]

pub struct FallbackFont<Font> {
    pub font: Font,
    pub scale: f32,
}
Expand description

A single font record for a fallback query result.

Fields

font: Font

The font.

scale: f32

A scale factor that should be applied to the fallback font.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.