pub enum GetParameterStepSizesResult {
Normal {
normal_step: f64,
small_step: Option<f64>,
large_step: Option<f64>,
},
Toggle,
}Variants§
Normal
Normal (non-toggleable) parameter.
Each of the decimal numbers are > 0.
Toggle
Toggleable parameter.
Trait Implementations§
Source§impl Clone for GetParameterStepSizesResult
impl Clone for GetParameterStepSizesResult
Source§fn clone(&self) -> GetParameterStepSizesResult
fn clone(&self) -> GetParameterStepSizesResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GetParameterStepSizesResult
Source§impl Debug for GetParameterStepSizesResult
impl Debug for GetParameterStepSizesResult
Source§impl PartialEq for GetParameterStepSizesResult
impl PartialEq for GetParameterStepSizesResult
Source§fn eq(&self, other: &GetParameterStepSizesResult) -> bool
fn eq(&self, other: &GetParameterStepSizesResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetParameterStepSizesResult
Auto Trait Implementations§
impl Freeze for GetParameterStepSizesResult
impl RefUnwindSafe for GetParameterStepSizesResult
impl Send for GetParameterStepSizesResult
impl Sync for GetParameterStepSizesResult
impl Unpin for GetParameterStepSizesResult
impl UnsafeUnpin for GetParameterStepSizesResult
impl UnwindSafe for GetParameterStepSizesResult
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