Enum fmod::core::OutputType
source · #[repr(u32)]pub enum OutputType {
Show 21 variants
AutoDetect = 0,
Unknown = 1,
NoSound = 2,
WavWriter = 3,
NoSoundNRT = 4,
WavWriterNRT = 5,
WASAPI = 6,
ASIO = 7,
PulseAudio = 8,
Alsa = 9,
CoreAudio = 10,
AudioTrack = 11,
OpenSL = 12,
AudioOut = 13,
WebAudio = 15,
NNAudio = 16,
WinSonic = 17,
AAudio = 18,
AudioWorklet = 19,
Phase = 20,
OHAudio = 21,
}Variants§
AutoDetect = 0
Unknown = 1
NoSound = 2
WavWriter = 3
NoSoundNRT = 4
WavWriterNRT = 5
WASAPI = 6
ASIO = 7
PulseAudio = 8
Alsa = 9
CoreAudio = 10
AudioTrack = 11
OpenSL = 12
AudioOut = 13
WebAudio = 15
NNAudio = 16
WinSonic = 17
AAudio = 18
AudioWorklet = 19
Phase = 20
OHAudio = 21
Trait Implementations§
source§impl Clone for OutputType
impl Clone for OutputType
source§fn clone(&self) -> OutputType
fn clone(&self) -> OutputType
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 OutputType
impl Debug for OutputType
source§impl From<OutputType> for u32
impl From<OutputType> for u32
source§fn from(enum_value: OutputType) -> Self
fn from(enum_value: OutputType) -> Self
Converts to this type from the input type.
source§impl PartialEq for OutputType
impl PartialEq for OutputType
source§fn eq(&self, other: &OutputType) -> bool
fn eq(&self, other: &OutputType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u32> for OutputType
impl TryFrom<u32> for OutputType
§type Error = TryFromPrimitiveError<OutputType>
type Error = TryFromPrimitiveError<OutputType>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for OutputType
impl TryFromPrimitive for OutputType
type Primitive = u32
type Error = TryFromPrimitiveError<OutputType>
const NAME: &'static str = "OutputType"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
source§impl UnsafeFromPrimitive for OutputType
impl UnsafeFromPrimitive for OutputType
type Primitive = u32
source§unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
Transmutes into an enum from its primitive. Read more
source§unsafe fn from_unchecked(number: Self::Primitive) -> Self
unsafe fn from_unchecked(number: Self::Primitive) -> Self
👎Deprecated since 0.6.0: Prefer to use
unchecked_transmute_from, from_unchecked will be removed in a future release.Transmutes into an enum from its primitive. Read more
impl Copy for OutputType
impl Eq for OutputType
impl StructuralPartialEq for OutputType
Auto Trait Implementations§
impl Freeze for OutputType
impl RefUnwindSafe for OutputType
impl Send for OutputType
impl Sync for OutputType
impl Unpin for OutputType
impl UnwindSafe for OutputType
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