[][src]Struct ev3::Screen

pub struct Screen { /* fields omitted */ }

Methods

impl Screen[src]

pub fn new() -> Screen[src]

pub fn orientation(&self) -> ScreenOrientation[src]

pub fn setup(&mut self, or: ScreenOrientation)[src]

pub fn setup_info_area(&mut self, x: i32, y: i32, w: i32, h: i32)[src]

pub fn setup_info_area_full(&mut self)[src]

pub fn info_x(&self) -> i32[src]

pub fn info_y(&self) -> i32[src]

pub fn info_w(&self) -> i32[src]

pub fn info_h(&self) -> i32[src]

pub fn set_info_count(&mut self, count: i32)[src]

pub fn reset_info(&mut self, index: usize)[src]

pub fn setup_info(
    &mut self,
    index: usize,
    size: u8,
    row: i32,
    rows: i32,
    column: i32,
    columns: i32
)
[src]

pub fn info_value(&self, index: usize) -> i32[src]

pub fn set_info_value(&mut self, index: usize, value: i32)[src]

pub fn set_info_bold(&mut self, index: usize, bold: bool)[src]

pub fn deselect_infos(&mut self)[src]

pub fn select_info(&mut self, index: usize)[src]

pub fn setup_info_value(&mut self, index: usize, position: u8, digits: u8)[src]

pub fn setup_info_signed_value(
    &mut self,
    index: usize,
    position: u8,
    digits: u8,
    positive: Gph,
    zero: Gph,
    negative: Gph
)
[src]

pub fn setup_info_glyphs(&mut self, index: usize, gphs: &[Gph])[src]

pub fn render_info(&mut self)[src]

pub fn setup_graph(&mut self, x: i32, y: i32, ox: i32, oy: i32)[src]

pub fn info_base(&self) -> (i32, i32)[src]

pub fn graph_base(&self) -> (i32, i32)[src]

pub fn graph_origin(&self) -> (i32, i32)[src]

pub fn box_in_info(&self, x: i32, y: i32, w: i32, h: i32, c: LcdColor)[src]

pub fn draw_graph_line(&self, x0: i32, y0: i32, x1: i32, y1: i32, bold: bool)[src]

pub fn draw_glyph(&self, g: Gph, x: i32, y: i32, bold: bool)[src]

Auto Trait Implementations

impl Send for Screen

impl Sync for Screen

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]