pub struct ScreenFont {
pub magic: u32,
pub version: u32,
pub header_size: u32,
pub flags: u32,
pub glyph_count: u32,
pub bytes_per_glyph: u32,
pub height: u32,
pub width: u32,
}Fields§
§magic: u32Magic bytes to identify PSF.
version: u32Zero, and nothing else.
header_size: u32Offset of bitmaps in file, 32.
flags: u320 if there is no unicode table.
glyph_count: u32The number of glyphs.
bytes_per_glyph: u32THe size of each glyph.
height: u32The height in pixels of a glyph.
width: u32The width in pixels of a glyph.
Auto Trait Implementations§
impl Freeze for ScreenFont
impl RefUnwindSafe for ScreenFont
impl Send for ScreenFont
impl Sync for ScreenFont
impl Unpin for ScreenFont
impl UnwindSafe for ScreenFont
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