#[repr(u8)]pub enum LedControl {
BrightnessDecrease = 0,
BrightnessIncrease = 1,
BrightnessSet = 2,
BrightnessDefault = 3,
EnableLeds = 4,
DisableLeds = 5,
ToggleLeds = 6,
FpsSet = 7,
FpsIncrease = 8,
FpsDecrease = 9,
FpsDefault = 10,
}
Variants§
BrightnessDecrease = 0
Decrease LED brightness
BrightnessIncrease = 1
Increase LED brightness
BrightnessSet = 2
Set brightness
BrightnessDefault = 3
Default brightness
EnableLeds = 4
Enable LEDs
DisableLeds = 5
Disable LEDs
ToggleLeds = 6
Toggle LEDs On/Off
FpsSet = 7
Set FPS target
FpsIncrease = 8
Increase FPS target
FpsDecrease = 9
Decrease FPS target
FpsDefault = 10
Default FPS target
Trait Implementations§
Source§impl Clone for LedControl
impl Clone for LedControl
Source§fn clone(&self) -> LedControl
fn clone(&self) -> LedControl
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LedControl
impl Debug for LedControl
Source§impl Hash for LedControl
impl Hash for LedControl
Source§impl PartialEq for LedControl
impl PartialEq for LedControl
impl Copy for LedControl
impl Eq for LedControl
impl StructuralPartialEq for LedControl
Auto Trait Implementations§
impl Freeze for LedControl
impl RefUnwindSafe for LedControl
impl Send for LedControl
impl Sync for LedControl
impl Unpin for LedControl
impl UnwindSafe for LedControl
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