Enum input_linux::SoundKind
source · #[repr(u16)]
pub enum SoundKind {
Click,
Bell,
Tone,
Unknown3,
Unknown4,
Unknown5,
Unknown6,
Unknown7,
}
Expand description
Sounds
Variants§
Implementations§
Trait Implementations§
source§impl BitmaskTrait for SoundKind
impl BitmaskTrait for SoundKind
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 SoundKind
impl<'de> Deserialize<'de> for SoundKind
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 SoundKind
impl IterableEnum for SoundKind
source§impl Ord for SoundKind
impl Ord for SoundKind
source§impl PartialEq<SoundKind> for SoundKind
impl PartialEq<SoundKind> for SoundKind
source§impl PartialOrd<SoundKind> for SoundKind
impl PartialOrd<SoundKind> for SoundKind
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