#[repr(u16)]pub enum LedKind {
Show 16 variants
NumLock = 0,
CapsLock = 1,
ScrollLock = 2,
Compose = 3,
Kana = 4,
Sleep = 5,
Suspend = 6,
Mute = 7,
Misc = 8,
Mail = 9,
Charging = 10,
UnknownB = 11,
UnknownC = 12,
UnknownD = 13,
UnknownE = 14,
UnknownF = 15,
}
Expand description
LEDs.
Variants§
NumLock = 0
CapsLock = 1
ScrollLock = 2
Compose = 3
Kana = 4
Sleep = 5
Suspend = 6
Mute = 7
Misc = 8
Mail = 9
Charging = 10
UnknownB = 11
UnknownC = 12
UnknownD = 13
UnknownE = 14
UnknownF = 15
Implementations§
Trait Implementations§
Source§impl BitmaskTrait for LedKind
impl BitmaskTrait for LedKind
Source§fn array_default() -> Self::Array
fn array_default() -> Self::Array
The default empty state of the bitmask.
Source§fn array_slice(array: &Self::Array) -> &[u8] ⓘ
fn array_slice(array: &Self::Array) -> &[u8] ⓘ
A representation of the bitmask as a slice of bytes.
Source§impl<'de> Deserialize<'de> for LedKind
impl<'de> Deserialize<'de> for LedKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IterableEnum for LedKind
impl IterableEnum for LedKind
Source§impl Ord for LedKind
impl Ord for LedKind
Source§impl PartialOrd for LedKind
impl PartialOrd for LedKind
impl Copy for LedKind
impl Eq for LedKind
impl StructuralPartialEq for LedKind
Auto Trait Implementations§
impl Freeze for LedKind
impl RefUnwindSafe for LedKind
impl Send for LedKind
impl Sync for LedKind
impl Unpin for LedKind
impl UnwindSafe for LedKind
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