Enum tm1637_gpio_driver::DisplayState
source · [−]#[repr(u8)]
pub enum DisplayState {
OFF,
ON,
}
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
OFF
Display off.
ON
Display On.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DisplayState
impl Send for DisplayState
impl Sync for DisplayState
impl Unpin for DisplayState
impl UnwindSafe for DisplayState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more