logo
#[repr(C)]
pub struct BitmapGlyphs { pub pixel_size: i16, pub glyph_data: Slice<'static, BitmapGlyph>, }
Expand description

A set of pre-rendered bitmap glyphs at a fixed pixel size

Fields

pixel_size: i16

The font size in pixels at which the glyphs were pre-rendered. The boundaries of glyphs may exceed this size, if the font designer has chosen so. This is only used for matching.

glyph_data: Slice<'static, BitmapGlyph>

The data of the pre-rendered glyphs

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.