#[repr(u8)]pub enum LfoTriggerMode {
FREE = 0,
RETRIG = 1,
HOLD = 2,
ONCE = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for LfoTriggerMode
impl Clone for LfoTriggerMode
Source§fn clone(&self) -> LfoTriggerMode
fn clone(&self) -> LfoTriggerMode
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 LfoTriggerMode
impl Debug for LfoTriggerMode
Source§impl Default for LfoTriggerMode
impl Default for LfoTriggerMode
Source§fn default() -> LfoTriggerMode
fn default() -> LfoTriggerMode
Returns the “default value” for a type. Read more
Source§impl From<LfoTriggerMode> for u8
impl From<LfoTriggerMode> for u8
Source§fn from(enum_value: LfoTriggerMode) -> Self
fn from(enum_value: LfoTriggerMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LfoTriggerMode
impl PartialEq for LfoTriggerMode
Source§impl TryFrom<u8> for LfoTriggerMode
impl TryFrom<u8> for LfoTriggerMode
Source§type Error = TryFromPrimitiveError<LfoTriggerMode>
type Error = TryFromPrimitiveError<LfoTriggerMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for LfoTriggerMode
impl TryFromPrimitive for LfoTriggerMode
const NAME: &'static str = "LfoTriggerMode"
type Primitive = u8
type Error = TryFromPrimitiveError<LfoTriggerMode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for LfoTriggerMode
impl StructuralPartialEq for LfoTriggerMode
Auto Trait Implementations§
impl Freeze for LfoTriggerMode
impl RefUnwindSafe for LfoTriggerMode
impl Send for LfoTriggerMode
impl Sync for LfoTriggerMode
impl Unpin for LfoTriggerMode
impl UnwindSafe for LfoTriggerMode
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