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