#[repr(C)]
pub struct CharacterMapEntry { pub code_point: char, pub glyph_index: u16, }
Expand description

An entry in the character map of a BitmapFont.

Fields§

§code_point: char

The unicode code point for a given glyph

§glyph_index: u16

The corresponding index in the glyph_data of BitmapGlyphs

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.