pub enum Audiodev {
Show 13 variants
alsa {
base: AudiodevBase,
alsa: AudiodevAlsaOptions,
},
coreaudio {
base: AudiodevBase,
coreaudio: AudiodevCoreaudioOptions,
},
dbus {
base: AudiodevBase,
dbus: AudiodevGenericOptions,
},
dsound {
base: AudiodevBase,
dsound: AudiodevDsoundOptions,
},
jack {
base: AudiodevBase,
jack: AudiodevJackOptions,
},
none {
base: AudiodevBase,
none: AudiodevGenericOptions,
},
oss {
base: AudiodevBase,
oss: AudiodevOssOptions,
},
pa {
base: AudiodevBase,
pa: AudiodevPaOptions,
},
pipewire {
base: AudiodevBase,
pipewire: AudiodevPipewireOptions,
},
sdl {
base: AudiodevBase,
sdl: AudiodevSdlOptions,
},
sndio {
base: AudiodevBase,
sndio: AudiodevSndioOptions,
},
spice {
base: AudiodevBase,
spice: AudiodevGenericOptions,
},
wav {
base: AudiodevBase,
wav: AudiodevWavOptions,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Audiodev
impl<'de> Deserialize<'de> for Audiodev
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 From<(AudiodevAlsaOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevAlsaOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevAlsaOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevAlsaOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevCoreaudioOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevCoreaudioOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevCoreaudioOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevCoreaudioOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevDsoundOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevDsoundOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevDsoundOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevDsoundOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevJackOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevJackOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevJackOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevJackOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevOssOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevOssOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevOssOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevOssOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevPaOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevPaOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevPaOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevPaOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevPipewireOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevPipewireOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevPipewireOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevPipewireOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevSdlOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevSdlOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevSdlOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevSdlOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevSndioOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevSndioOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevSndioOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevSndioOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Source§impl From<(AudiodevWavOptions, AudiodevBase)> for Audiodev
impl From<(AudiodevWavOptions, AudiodevBase)> for Audiodev
Source§fn from(val: (AudiodevWavOptions, AudiodevBase)) -> Self
fn from(val: (AudiodevWavOptions, AudiodevBase)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Audiodev
impl RefUnwindSafe for Audiodev
impl Send for Audiodev
impl Sync for Audiodev
impl Unpin for Audiodev
impl UnwindSafe for Audiodev
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