#[repr(u8)]pub enum FadeCommand {
Reset = 0,
ResetAll = 1,
BrightnessSet = 2,
BrightnessIncrement = 3,
BrightnessDecrement = 4,
BrightnessDefault = 5,
}
Variants§
Reset = 0
Resets fade settings to default
ResetAll = 1
Resets all profiles to defaults
BrightnessSet = 2
Set fade brightness
BrightnessIncrement = 3
Set fade brightness increment
BrightnessDecrement = 4
Set fade brightness decrement
BrightnessDefault = 5
Reset to brightness default
Trait Implementations§
Source§impl Clone for FadeCommand
impl Clone for FadeCommand
Source§fn clone(&self) -> FadeCommand
fn clone(&self) -> FadeCommand
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 FadeCommand
impl Debug for FadeCommand
Source§impl Hash for FadeCommand
impl Hash for FadeCommand
Source§impl PartialEq for FadeCommand
impl PartialEq for FadeCommand
impl Copy for FadeCommand
impl Eq for FadeCommand
impl StructuralPartialEq for FadeCommand
Auto Trait Implementations§
impl Freeze for FadeCommand
impl RefUnwindSafe for FadeCommand
impl Send for FadeCommand
impl Sync for FadeCommand
impl Unpin for FadeCommand
impl UnwindSafe for FadeCommand
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