pub struct Lcd<TOP: LcdTopSideProvider + 'static> {
pub current_screen: LcdScreenCurrent<TOP>,
pub next_screen: LcdScreenNext,
/* private fields */
}
Fields§
§current_screen: LcdScreenCurrent<TOP>
§next_screen: LcdScreenNext
Implementations§
Source§impl<TOP: LcdTopSideProvider + 'static> Lcd<TOP>
impl<TOP: LcdTopSideProvider + 'static> Lcd<TOP>
pub fn new(font: &'static Font<TOP>) -> Self
pub fn clear_pixels(&self)
pub fn clear(&self)
pub fn refresh(&self)
pub fn draw_glyph(&self, c: GlyphCode, x: usize, y: usize)
pub fn print_char(&self, x: usize, y: usize, c: char)
pub fn print(&self, row: usize, text: &str)
pub fn print_column(&self, column: usize, text: &str)
pub fn print_value(&self, row: usize, column: usize, digits: usize, value: i32)
pub fn print_value_signed( &self, row: usize, column: usize, digits: usize, value: i32, )
pub fn bar_vertical(&self, column: usize, value: i32, limit: i32)
pub fn bar_horizontal(&self, row: usize, value: i32, limit: i32)
pub fn print_char_sub1(&self, x: usize, y: usize, c: char)
pub fn print_sub1(&self, row: usize, text: &str)
pub fn print_column_sub1(&self, column: usize, text: &str)
pub fn print_value_sub1( &self, row: usize, column: usize, digits: usize, value: i32, )
pub fn print_value_signed_sub1( &self, row: usize, column: usize, digits: usize, value: i32, )
pub fn bar_horizontal_sub1(&self, row: usize, value: i32, limit: i32)
pub fn bar_vertical_sub1(&self, column: usize, value: i32, limit: i32)
pub fn print_char_sub2(&self, x: usize, y: usize, c: char)
pub fn print_sub2(&self, row: usize, text: &str)
pub fn print_column_sub2(&self, column: usize, text: &str)
pub fn print_value_sub2( &self, row: usize, column: usize, digits: usize, value: i32, )
pub fn print_value_signed_sub2( &self, row: usize, column: usize, digits: usize, value: i32, )
pub fn bar_horizontal_sub2(&self, row: usize, value: i32, limit: i32)
pub fn bar_vertical_sub2(&self, column: usize, value: i32, limit: i32)
Trait Implementations§
Source§impl<TOP: LcdTopSideProvider + 'static> LcdTrait for Lcd<TOP>
impl<TOP: LcdTopSideProvider + 'static> LcdTrait for Lcd<TOP>
fn clear(&self)
fn print_char(&self, x: usize, y: usize, c: char)
fn print(&self, row: usize, text: &str)
fn print_column(&self, column: usize, text: &str)
fn print_value(&self, row: usize, column: usize, digits: usize, value: i32)
fn print_value_signed( &self, row: usize, column: usize, digits: usize, value: i32, )
fn bar_vertical(&self, column: usize, value: i32, limit: i32)
fn bar_horizontal(&self, row: usize, value: i32, limit: i32)
fn print_char_sub1(&self, x: usize, y: usize, c: char)
fn print_sub1(&self, row: usize, text: &str)
fn print_column_sub1(&self, column: usize, text: &str)
fn print_value_sub1(&self, row: usize, column: usize, digits: usize, value: i32)
fn print_value_signed_sub1( &self, row: usize, column: usize, digits: usize, value: i32, )
fn bar_vertical_sub1(&self, column: usize, value: i32, limit: i32)
fn bar_horizontal_sub1(&self, row: usize, value: i32, limit: i32)
fn print_char_sub2(&self, x: usize, y: usize, c: char)
fn print_sub2(&self, row: usize, text: &str)
fn print_column_sub2(&self, column: usize, text: &str)
fn print_value_sub2(&self, row: usize, column: usize, digits: usize, value: i32)
fn print_value_signed_sub2( &self, row: usize, column: usize, digits: usize, value: i32, )
fn bar_vertical_sub2(&self, column: usize, value: i32, limit: i32)
fn bar_horizontal_sub2(&self, row: usize, value: i32, limit: i32)
Auto Trait Implementations§
impl<TOP> Freeze for Lcd<TOP>
impl<TOP> !RefUnwindSafe for Lcd<TOP>
impl<TOP> Send for Lcd<TOP>
impl<TOP> Sync for Lcd<TOP>where
TOP: Sync,
impl<TOP> Unpin for Lcd<TOP>where
TOP: Unpin,
impl<TOP> UnwindSafe for Lcd<TOP>where
TOP: UnwindSafe + RefUnwindSafe,
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