Enum input_linux::LedKind
source · #[repr(u16)]
pub enum LedKind {
Show 16 variants
NumLock,
CapsLock,
ScrollLock,
Compose,
Kana,
Sleep,
Suspend,
Mute,
Misc,
Mail,
Charging,
UnknownB,
UnknownC,
UnknownD,
UnknownE,
UnknownF,
}
Expand description
LEDs.
Variants§
NumLock
CapsLock
ScrollLock
Compose
Kana
Sleep
Suspend
Mute
Misc
Charging
UnknownB
UnknownC
UnknownD
UnknownE
UnknownF
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 PartialEq<LedKind> for LedKind
impl PartialEq<LedKind> for LedKind
source§impl PartialOrd<LedKind> for LedKind
impl PartialOrd<LedKind> for LedKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more