#[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.
impl Copy for SoundKind
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
impl Eq for SoundKind
Source§impl IterableEnum for SoundKind
impl IterableEnum for SoundKind
Source§impl Ord for SoundKind
impl Ord for SoundKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for SoundKind
impl PartialOrd 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 UnsafeUnpin 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