#[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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.