pub struct Framebuffer {
pub pixels: Lcd,
pub annunciators: Annunciators,
pub contrast: u8,
}Expand description
Everything the display shows: pixels, annunciators and contrast.
Fields§
§pixels: LcdThe pixel area: 131x64, 131x16 on the Pioneers, 137x32 on the 28S.
annunciators: AnnunciatorsThe annunciator row.
contrast: u85-bit contrast, 0-31, higher is darker (#101 bits 0-3, #102 bit 0).
Implementations§
Source§impl Framebuffer
impl Framebuffer
Sourcepub fn to_text(&self) -> String
pub fn to_text(&self) -> String
The pixel area as text, identical to Lcd::to_text.
Sourcepub fn annunciator_line(&self) -> String
pub fn annunciator_line(&self) -> String
The annunciators as one line, see Annunciators::to_line.
Trait Implementations§
Source§impl Clone for Framebuffer
impl Clone for Framebuffer
Source§impl Debug for Framebuffer
impl Debug for Framebuffer
impl Eq for Framebuffer
Source§impl PartialEq for Framebuffer
impl PartialEq for Framebuffer
impl StructuralPartialEq for Framebuffer
Auto Trait Implementations§
impl Forget for Framebuffer
impl Freeze for Framebuffer
impl Move for Framebuffer
impl RefUnwindSafe for Framebuffer
impl Send for Framebuffer
impl Sync for Framebuffer
impl Unpin for Framebuffer
impl UnsafeUnpin for Framebuffer
impl UnwindSafe for Framebuffer
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