Struct vexide_devices::controller::ControllerScreen
source · pub struct ControllerScreen { /* private fields */ }
Expand description
Controller LCD Console
Implementations§
source§impl ControllerScreen
impl ControllerScreen
sourcepub const MAX_LINE_LENGTH: usize = 14usize
pub const MAX_LINE_LENGTH: usize = 14usize
Maximum number of characters that can be drawn to a text line.
sourcepub const MAX_LINES: usize = 2usize
pub const MAX_LINES: usize = 2usize
Number of available text lines on the controller before clearing the screen.
sourcepub fn clear_line(&mut self, line: u8) -> Result<(), ControllerError>
pub fn clear_line(&mut self, line: u8) -> Result<(), ControllerError>
Clear the contents of a specific text line.
sourcepub fn clear_screen(&mut self) -> Result<(), ControllerError>
pub fn clear_screen(&mut self) -> Result<(), ControllerError>
Clear the whole screen.
Trait Implementations§
source§impl Debug for ControllerScreen
impl Debug for ControllerScreen
source§impl PartialEq for ControllerScreen
impl PartialEq for ControllerScreen
source§fn eq(&self, other: &ControllerScreen) -> bool
fn eq(&self, other: &ControllerScreen) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ControllerScreen
impl StructuralPartialEq for ControllerScreen
Auto Trait Implementations§
impl Freeze for ControllerScreen
impl RefUnwindSafe for ControllerScreen
impl Send for ControllerScreen
impl Sync for ControllerScreen
impl Unpin for ControllerScreen
impl UnwindSafe for ControllerScreen
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