Enum tm1637_gpio_driver::Brightness
source · [−]#[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
Auto Trait Implementations
impl RefUnwindSafe for Brightness
impl Send for Brightness
impl Sync for Brightness
impl Unpin for Brightness
impl UnwindSafe for Brightness
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