#[repr(u32)]pub enum DownmixType {
None = 0,
Mono = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for DownmixType
impl Clone for DownmixType
Source§fn clone(&self) -> DownmixType
fn clone(&self) -> DownmixType
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 DownmixType
impl Debug for DownmixType
Source§impl From<DownmixType> for u32
impl From<DownmixType> for u32
Source§fn from(enum_value: DownmixType) -> Self
fn from(enum_value: DownmixType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DownmixType
impl PartialEq for DownmixType
Source§impl ReadableParameter for DownmixType
impl ReadableParameter for DownmixType
Source§fn get_parameter_string(dsp: Dsp, index: c_int) -> Result<Utf8CString>
fn get_parameter_string(dsp: Dsp, index: c_int) -> Result<Utf8CString>
Get the parameter string at
index
.Source§impl ReadableParameterIndex<DownmixType> for Downmix
impl ReadableParameterIndex<DownmixType> for Downmix
Source§impl TryFrom<u32> for DownmixType
impl TryFrom<u32> for DownmixType
Source§type Error = TryFromPrimitiveError<DownmixType>
type Error = TryFromPrimitiveError<DownmixType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for DownmixType
impl TryFromPrimitive for DownmixType
const NAME: &'static str = "DownmixType"
type Primitive = u32
type Error = TryFromPrimitiveError<DownmixType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl WritableParameter for DownmixType
impl WritableParameter for DownmixType
Source§impl WritableParameterIndex<DownmixType> for Downmix
impl WritableParameterIndex<DownmixType> for Downmix
impl Copy for DownmixType
impl Eq for DownmixType
impl StructuralPartialEq for DownmixType
Auto Trait Implementations§
impl Freeze for DownmixType
impl RefUnwindSafe for DownmixType
impl Send for DownmixType
impl Sync for DownmixType
impl Unpin for DownmixType
impl UnwindSafe for DownmixType
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