#[repr(u8)]pub enum HubLedMode {
Colour = 0,
Rgb = 1,
}Expand description
The two modes by which Hub LED colours may be set
Variants§
Colour = 0
Colour may be set to one of a number of specific named colours
Rgb = 1
Colour may be set to any 12-bit RGB value
Trait Implementations§
Source§impl Clone for HubLedMode
impl Clone for HubLedMode
Source§fn clone(&self) -> HubLedMode
fn clone(&self) -> HubLedMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HubLedMode
Source§impl Debug for HubLedMode
impl Debug for HubLedMode
impl Eq for HubLedMode
Source§impl PartialEq for HubLedMode
impl PartialEq for HubLedMode
impl StructuralPartialEq for HubLedMode
Auto Trait Implementations§
impl Freeze for HubLedMode
impl RefUnwindSafe for HubLedMode
impl Send for HubLedMode
impl Sync for HubLedMode
impl Unpin for HubLedMode
impl UnsafeUnpin for HubLedMode
impl UnwindSafe for HubLedMode
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