pub struct Screen { /* private fields */ }Implementations§
Source§impl Screen
impl Screen
pub fn new() -> Screen
pub fn orientation(&self) -> ScreenOrientation
pub fn setup(&mut self, or: ScreenOrientation)
pub fn setup_info_area(&mut self, x: i32, y: i32, w: i32, h: i32)
pub fn setup_info_area_full(&mut self)
pub fn info_x(&self) -> i32
pub fn info_y(&self) -> i32
pub fn info_w(&self) -> i32
pub fn info_h(&self) -> i32
pub fn set_info_count(&mut self, count: i32)
pub fn reset_info(&mut self, index: usize)
pub fn setup_info( &mut self, index: usize, size: u8, row: i32, rows: i32, column: i32, columns: i32, )
pub fn info_value(&self, index: usize) -> i32
pub fn set_info_value(&mut self, index: usize, value: i32)
pub fn set_info_bold(&mut self, index: usize, bold: bool)
pub fn deselect_infos(&mut self)
pub fn select_info(&mut self, index: usize)
pub fn setup_info_value(&mut self, index: usize, position: u8, digits: u8)
pub fn setup_info_signed_value( &mut self, index: usize, position: u8, digits: u8, positive: Gph, zero: Gph, negative: Gph, )
pub fn setup_info_glyphs(&mut self, index: usize, gphs: &[Gph])
pub fn render_info(&mut self)
pub fn setup_graph(&mut self, x: i32, y: i32, ox: i32, oy: i32)
pub fn info_base(&self) -> (i32, i32)
pub fn graph_base(&self) -> (i32, i32)
pub fn graph_origin(&self) -> (i32, i32)
pub fn info_origin(&self) -> (i32, i32)
pub fn box_in_info(&self, x: i32, y: i32, w: i32, h: i32, color: LcdColor)
pub fn draw_graph_line(&self, x0: i32, y0: i32, x1: i32, y1: i32, bold: bool)
pub fn draw_graph_arc( &self, center_x: i32, center_y: i32, start_angle: i32, arc_angle: i32, radius: i32, bold: bool, )
pub fn draw_glyph(&self, g: Gph, x: i32, y: i32, bold: bool)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Screen
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnwindSafe for Screen
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