#[non_exhaustive]#[repr(u8)]pub enum UiSoundPresentationControl {
DualMono = 16,
Karaoke = 32,
Downmix = 128,
Reverb = 144,
Equalizer = 160,
BassUp = 177,
BassNeutral = 178,
BassDown = 179,
TrebleUp = 193,
TrebleNeutral = 194,
TrebleDown = 195,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DualMono = 16
Karaoke = 32
Downmix = 128
Reverb = 144
Equalizer = 160
BassUp = 177
BassNeutral = 178
BassDown = 179
TrebleUp = 193
TrebleNeutral = 194
TrebleDown = 195
Trait Implementations§
Source§impl Clone for UiSoundPresentationControl
impl Clone for UiSoundPresentationControl
Source§fn clone(&self) -> UiSoundPresentationControl
fn clone(&self) -> UiSoundPresentationControl
Returns a duplicate 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 UiSoundPresentationControl
impl Debug for UiSoundPresentationControl
Source§impl From<UiSoundPresentationControl> for u8
impl From<UiSoundPresentationControl> for u8
Source§fn from(enum_value: UiSoundPresentationControl) -> Self
fn from(enum_value: UiSoundPresentationControl) -> Self
Converts to this type from the input type.
Source§impl Hash for UiSoundPresentationControl
impl Hash for UiSoundPresentationControl
Source§impl TryFrom<u8> for UiSoundPresentationControl
impl TryFrom<u8> for UiSoundPresentationControl
Source§type Error = TryFromPrimitiveError<UiSoundPresentationControl>
type Error = TryFromPrimitiveError<UiSoundPresentationControl>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for UiSoundPresentationControl
impl TryFromPrimitive for UiSoundPresentationControl
const NAME: &'static str = "UiSoundPresentationControl"
type Primitive = u8
type Error = TryFromPrimitiveError<UiSoundPresentationControl>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for UiSoundPresentationControl
impl Eq for UiSoundPresentationControl
impl StructuralPartialEq for UiSoundPresentationControl
Auto Trait Implementations§
impl Freeze for UiSoundPresentationControl
impl RefUnwindSafe for UiSoundPresentationControl
impl Send for UiSoundPresentationControl
impl Sync for UiSoundPresentationControl
impl Unpin for UiSoundPresentationControl
impl UnsafeUnpin for UiSoundPresentationControl
impl UnwindSafe for UiSoundPresentationControl
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