#[repr(u32)]
#[non_exhaustive]
pub enum AVAudioServiceType {
AV_AUDIO_SERVICE_TYPE_MAIN,
AV_AUDIO_SERVICE_TYPE_EFFECTS,
AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED,
AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED,
AV_AUDIO_SERVICE_TYPE_DIALOGUE,
AV_AUDIO_SERVICE_TYPE_COMMENTARY,
AV_AUDIO_SERVICE_TYPE_EMERGENCY,
AV_AUDIO_SERVICE_TYPE_VOICE_OVER,
AV_AUDIO_SERVICE_TYPE_KARAOKE,
AV_AUDIO_SERVICE_TYPE_NB,
}
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.
AV_AUDIO_SERVICE_TYPE_MAIN
AV_AUDIO_SERVICE_TYPE_EFFECTS
AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED
AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED
AV_AUDIO_SERVICE_TYPE_DIALOGUE
AV_AUDIO_SERVICE_TYPE_COMMENTARY
AV_AUDIO_SERVICE_TYPE_EMERGENCY
AV_AUDIO_SERVICE_TYPE_VOICE_OVER
AV_AUDIO_SERVICE_TYPE_KARAOKE
AV_AUDIO_SERVICE_TYPE_NB
< Not part of ABI
Trait Implementations§
source§impl Clone for AVAudioServiceType
impl Clone for AVAudioServiceType
source§fn clone(&self) -> AVAudioServiceType
fn clone(&self) -> AVAudioServiceType
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 AVAudioServiceType
impl Debug for AVAudioServiceType
source§impl Hash for AVAudioServiceType
impl Hash for AVAudioServiceType
source§impl PartialEq<AVAudioServiceType> for AVAudioServiceType
impl PartialEq<AVAudioServiceType> for AVAudioServiceType
source§fn eq(&self, other: &AVAudioServiceType) -> bool
fn eq(&self, other: &AVAudioServiceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.