#[repr(u8)]pub enum DisplayState {
OFF = 0,
ON = 8,
}
Expand description
Whether the display is on or off. The TM1637 “DisplayControl”-command transports the display on/off information in the third bit (2^3) of the command.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DisplayState
impl RefUnwindSafe for DisplayState
impl Send for DisplayState
impl Sync for DisplayState
impl Unpin for DisplayState
impl UnwindSafe for DisplayState
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