Enum kll_core::pixel::LedControl
source · #[repr(u8)]
pub enum LedControl {
BrightnessDecrease,
BrightnessIncrease,
BrightnessSet,
BrightnessDefault,
EnableLeds,
DisableLeds,
ToggleLeds,
FpsSet,
FpsIncrease,
FpsDecrease,
FpsDefault,
}
Variants
BrightnessDecrease
Decrease LED brightness
BrightnessIncrease
Increase LED brightness
BrightnessSet
Set brightness
BrightnessDefault
Default brightness
EnableLeds
Enable LEDs
DisableLeds
Disable LEDs
ToggleLeds
Toggle LEDs On/Off
FpsSet
Set FPS target
FpsIncrease
Increase FPS target
FpsDecrease
Decrease FPS target
FpsDefault
Default FPS target
Trait Implementations
sourceimpl Clone for LedControl
impl Clone for LedControl
sourcefn clone(&self) -> LedControl
fn clone(&self) -> LedControl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LedControl
impl Debug for LedControl
sourceimpl Hash for LedControl
impl Hash for LedControl
sourceimpl PartialEq<LedControl> for LedControl
impl PartialEq<LedControl> for LedControl
sourcefn eq(&self, other: &LedControl) -> bool
fn eq(&self, other: &LedControl) -> bool
impl Copy for LedControl
impl Eq for LedControl
impl StructuralEq for LedControl
impl StructuralPartialEq for LedControl
Auto Trait Implementations
impl RefUnwindSafe for LedControl
impl Send for LedControl
impl Sync for LedControl
impl Unpin for LedControl
impl UnwindSafe for LedControl
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