Struct i_slint_core::graphics::BitmapGlyphs
source · [−]#[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 RefUnwindSafe for BitmapGlyphs
impl !Send for BitmapGlyphs
impl !Sync for BitmapGlyphs
impl Unpin for BitmapGlyphs
impl UnwindSafe for BitmapGlyphs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more