#[repr(u8)]
pub enum Brightness {
    L0,
    L1,
    L2,
    L3,
    L4,
    L5,
    L6,
    L7,
}
Expand description

The level of brightness. The TM1637 “DisplayControl”-command transports the brightness information in bits 0 to 2.

Variants

L0

Brightness level 0. Lowest brightness.

L1

Brightness level 1.

L2

Brightness level 2.

L3

Brightness level 3.

L4

Brightness level 4.

L5

Brightness level 5.

L6

Brightness level 6.

L7

Brightness level 7. Highest brightness.

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.