#[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§
Auto Trait Implementations§
impl Freeze for BitmapGlyphs
impl RefUnwindSafe for BitmapGlyphs
impl Send for BitmapGlyphs
impl Sync for BitmapGlyphs
impl Unpin for BitmapGlyphs
impl UnwindSafe for BitmapGlyphs
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