#[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§
Auto Trait Implementations§
impl Freeze for CharacterMapEntry
impl RefUnwindSafe for CharacterMapEntry
impl Send for CharacterMapEntry
impl Sync for CharacterMapEntry
impl Unpin for CharacterMapEntry
impl UnwindSafe for CharacterMapEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more