pub struct Smartie { /* private fields */ }Implementations§
Source§impl Smartie
impl Smartie
pub fn new(tty_path: &str, width: u8, height: u8) -> Self
pub fn backlight_on(&mut self)
pub fn backlight_off(&mut self)
pub fn set_brightness(&mut self, amount: u8)
pub fn set_contrast(&mut self, amount: u8)
pub fn write_line(&mut self, message: &str, line_number: u8)
pub fn clear(&mut self)
Auto Trait Implementations§
impl Freeze for Smartie
impl !RefUnwindSafe for Smartie
impl !Send for Smartie
impl !Sync for Smartie
impl Unpin for Smartie
impl !UnwindSafe for Smartie
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