#[repr(u32)]pub enum DspConnectionType {
Standard = 0,
Sidechain = 1,
Send = 2,
SendSidechain = 3,
}
Expand description
List of connection types between two DSP units.
Variants§
Standard = 0
Default connection type. Audio is mixed from the input to the output DSP’s audible buffer.
Sidechain = 1
Sidechain connection type. Audio is mixed from the input to the output DSP’s sidechain buffer.
Send = 2
Send connection type.
Audio is mixed from the input to the output DSP’s audible buffer, but the input is not executed, only copied from.
A standard connection or sidechain needs to make an input execute to generate data.
SendSidechain = 3
Send sidechain connection type.
Audio is mixed from the input to the output DSP’s sidechain buffer, but the input is not executed, only copied from.
A standard connection or sidechain needs to make an input execute to generate data.
Trait Implementations§
Source§impl Clone for DspConnectionType
impl Clone for DspConnectionType
Source§fn clone(&self) -> DspConnectionType
fn clone(&self) -> DspConnectionType
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 DspConnectionType
impl Debug for DspConnectionType
Source§impl From<DspConnectionType> for u32
impl From<DspConnectionType> for u32
Source§fn from(enum_value: DspConnectionType) -> Self
fn from(enum_value: DspConnectionType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DspConnectionType
impl PartialEq for DspConnectionType
Source§impl TryFrom<u32> for DspConnectionType
impl TryFrom<u32> for DspConnectionType
Source§type Error = TryFromPrimitiveError<DspConnectionType>
type Error = TryFromPrimitiveError<DspConnectionType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for DspConnectionType
impl TryFromPrimitive for DspConnectionType
const NAME: &'static str = "DspConnectionType"
type Primitive = u32
type Error = TryFromPrimitiveError<DspConnectionType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for DspConnectionType
impl UnsafeFromPrimitive for DspConnectionType
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 DspConnectionType
impl Eq for DspConnectionType
impl StructuralPartialEq for DspConnectionType
Auto Trait Implementations§
impl Freeze for DspConnectionType
impl RefUnwindSafe for DspConnectionType
impl Send for DspConnectionType
impl Sync for DspConnectionType
impl Unpin for DspConnectionType
impl UnwindSafe for DspConnectionType
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