pub struct GlyphSource {
pub bits: [GlyphSourceRow; 18],
}
Fields§
§bits: [GlyphSourceRow; 18]
Implementations§
Source§impl GlyphSource
impl GlyphSource
pub const fn new(bits: [GlyphSourceRow; 18]) -> Self
pub const fn bit(&self, row: usize, column: usize) -> u8
pub const fn row_bits_direct( &self, row: usize, byte_index: usize, ) -> (u8, u8, u8)
pub const fn row_bits_mirror( &self, row: usize, byte_index: usize, ) -> (u8, u8, u8)
pub const fn column_bits_direct( &self, column: usize, byte_index: usize, ) -> (u8, u8, u8)
pub const fn column_bits_mirror( &self, column: usize, byte_index: usize, ) -> (u8, u8, u8)
pub const fn row_byte_direct(&self, row: usize, byte_index: usize) -> u8
pub const fn row_byte_mirror(&self, row: usize, byte_index: usize) -> u8
pub const fn column_byte_direct(&self, column: usize, byte_index: usize) -> u8
pub const fn column_byte_mirror(&self, column: usize, byte_index: usize) -> u8
pub const fn row_direct(&self, row: usize) -> GlyphDataRow
pub const fn row_mirror(&self, row: usize) -> GlyphDataRow
pub const fn column_direct(&self, column: usize) -> GlyphDataRow
pub const fn column_mirror(&self, column: usize) -> GlyphDataRow
pub const fn glyph_up(&self) -> GlyphData
pub const fn glyph_down(&self) -> GlyphData
pub const fn glyph_left(&self) -> GlyphData
pub const fn glyph_right(&self) -> GlyphData
pub const fn glyph(&self, dir: LcdTopSide) -> GlyphData
Auto Trait Implementations§
impl Freeze for GlyphSource
impl RefUnwindSafe for GlyphSource
impl Send for GlyphSource
impl Sync for GlyphSource
impl Unpin for GlyphSource
impl UnwindSafe for GlyphSource
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