#[repr(u32)]pub enum PluginType {
Output = 0,
Codec = 1,
DSP = 2,
}
Expand description
Types of plug-in used to extend functionality.
Variants§
Output = 0
Audio output interface plug-in represented with FMOD_OUTPUT_DESCRIPTION
.
Codec = 1
File format codec plug-in represented with FMOD_CODEC_DESCRIPTION
.
DSP = 2
DSP unit plug-in represented with FMOD_DSP_DESCRIPTION
.
Trait Implementations§
Source§impl Clone for PluginType
impl Clone for PluginType
Source§fn clone(&self) -> PluginType
fn clone(&self) -> PluginType
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 PluginType
impl Debug for PluginType
Source§impl From<PluginType> for u32
impl From<PluginType> for u32
Source§fn from(enum_value: PluginType) -> Self
fn from(enum_value: PluginType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PluginType
impl PartialEq for PluginType
Source§impl TryFrom<u32> for PluginType
impl TryFrom<u32> for PluginType
Source§type Error = TryFromPrimitiveError<PluginType>
type Error = TryFromPrimitiveError<PluginType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for PluginType
impl TryFromPrimitive for PluginType
const NAME: &'static str = "PluginType"
type Primitive = u32
type Error = TryFromPrimitiveError<PluginType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for PluginType
impl UnsafeFromPrimitive for PluginType
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 PluginType
impl Eq for PluginType
impl StructuralPartialEq for PluginType
Auto Trait Implementations§
impl Freeze for PluginType
impl RefUnwindSafe for PluginType
impl Send for PluginType
impl Sync for PluginType
impl Unpin for PluginType
impl UnwindSafe for PluginType
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