Enum input_linux::SoundKind
source · #[repr(u16)]pub enum SoundKind {
Click = 0,
Bell = 1,
Tone = 2,
Unknown3 = 3,
Unknown4 = 4,
Unknown5 = 5,
Unknown6 = 6,
Unknown7 = 7,
}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 for SoundKind
impl PartialEq for SoundKind
source§impl PartialOrd for SoundKind
impl PartialOrd 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 moreimpl Copy for SoundKind
impl Eq for SoundKind
impl StructuralPartialEq for SoundKind
Auto Trait Implementations§
impl Freeze for SoundKind
impl RefUnwindSafe for SoundKind
impl Send for SoundKind
impl Sync for SoundKind
impl Unpin for SoundKind
impl UnwindSafe for SoundKind
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)