#[repr(u32)]pub enum SOUND_LEVEL {
Loud = 0,
Normal = 1,
Silent = 2,
VeryLoud = 3,
Quiet = 4,
}
Variants§
Trait Implementations§
Source§impl Clone for SOUND_LEVEL
impl Clone for SOUND_LEVEL
Source§fn clone(&self) -> SOUND_LEVEL
fn clone(&self) -> SOUND_LEVEL
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SOUND_LEVEL
impl Debug for SOUND_LEVEL
Source§impl From<SOUND_LEVEL> for SOUND_LEVEL_CEnum
impl From<SOUND_LEVEL> for SOUND_LEVEL_CEnum
Source§fn from(value: SOUND_LEVEL) -> Self
fn from(value: SOUND_LEVEL) -> Self
Converts to this type from the input type.
Source§impl Hash for SOUND_LEVEL
impl Hash for SOUND_LEVEL
Source§impl Ord for SOUND_LEVEL
impl Ord for SOUND_LEVEL
Source§fn cmp(&self, other: &SOUND_LEVEL) -> Ordering
fn cmp(&self, other: &SOUND_LEVEL) -> Ordering
1.21.0 · 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 PartialEq for SOUND_LEVEL
impl PartialEq for SOUND_LEVEL
Source§impl PartialOrd for SOUND_LEVEL
impl PartialOrd for SOUND_LEVEL
Source§impl TryFrom<SOUND_LEVEL_CEnum> for SOUND_LEVEL
impl TryFrom<SOUND_LEVEL_CEnum> for SOUND_LEVEL
impl Copy for SOUND_LEVEL
impl Eq for SOUND_LEVEL
impl StructuralPartialEq for SOUND_LEVEL
Auto Trait Implementations§
impl Freeze for SOUND_LEVEL
impl RefUnwindSafe for SOUND_LEVEL
impl Send for SOUND_LEVEL
impl Sync for SOUND_LEVEL
impl Unpin for SOUND_LEVEL
impl UnwindSafe for SOUND_LEVEL
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