#[repr(u32)]pub enum RolloffType {
LinearSquared = 0,
Linear = 1,
Inverse = 2,
InverseTapered = 3,
Custom = 4,
}Variants§
Trait Implementations§
Source§impl Clone for RolloffType
impl Clone for RolloffType
Source§fn clone(&self) -> RolloffType
fn clone(&self) -> RolloffType
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 RolloffType
impl Debug for RolloffType
Source§impl From<RolloffType> for u32
impl From<RolloffType> for u32
Source§fn from(enum_value: RolloffType) -> Self
fn from(enum_value: RolloffType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RolloffType
impl PartialEq for RolloffType
Source§impl ReadableParameter for RolloffType
impl ReadableParameter for RolloffType
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<RolloffType> for Rolloff
impl ReadableParameterIndex<RolloffType> for Rolloff
Source§impl ReadableParameterIndex<RolloffType> for Rolloff
impl ReadableParameterIndex<RolloffType> for Rolloff
Source§impl TryFrom<u32> for RolloffType
impl TryFrom<u32> for RolloffType
Source§type Error = TryFromPrimitiveError<RolloffType>
type Error = TryFromPrimitiveError<RolloffType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for RolloffType
impl TryFromPrimitive for RolloffType
const NAME: &'static str = "RolloffType"
type Primitive = u32
type Error = TryFromPrimitiveError<RolloffType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl WritableParameter for RolloffType
impl WritableParameter for RolloffType
Source§impl WritableParameterIndex<RolloffType> for Rolloff
impl WritableParameterIndex<RolloffType> for Rolloff
Source§impl WritableParameterIndex<RolloffType> for Rolloff
impl WritableParameterIndex<RolloffType> for Rolloff
impl Copy for RolloffType
impl Eq for RolloffType
impl StructuralPartialEq for RolloffType
Auto Trait Implementations§
impl Freeze for RolloffType
impl RefUnwindSafe for RolloffType
impl Send for RolloffType
impl Sync for RolloffType
impl Unpin for RolloffType
impl UnwindSafe for RolloffType
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