#[repr(u8)]pub enum SamplePlayMode {
Show 15 variants
    FWD = 0,
    REV = 1,
    FWDLOOP = 2,
    REVLOOP = 3,
    FWD_PP = 4,
    REV_PP = 5,
    OSC = 6,
    OSC_REV = 7,
    OSC_PP = 8,
    REPITCH = 9,
    REP_REV = 10,
    REP_PP = 11,
    REP_BPM = 12,
    BPM_REV = 13,
    BPM_PP = 14,
}Variants§
FWD = 0
REV = 1
FWDLOOP = 2
REVLOOP = 3
FWD_PP = 4
REV_PP = 5
OSC = 6
OSC_REV = 7
OSC_PP = 8
REPITCH = 9
REP_REV = 10
REP_PP = 11
REP_BPM = 12
BPM_REV = 13
BPM_PP = 14
Trait Implementations§
Source§impl Clone for SamplePlayMode
 
impl Clone for SamplePlayMode
Source§fn clone(&self) -> SamplePlayMode
 
fn clone(&self) -> SamplePlayMode
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 SamplePlayMode
 
impl Debug for SamplePlayMode
Source§impl Default for SamplePlayMode
 
impl Default for SamplePlayMode
Source§fn default() -> SamplePlayMode
 
fn default() -> SamplePlayMode
Returns the “default value” for a type. Read more
Source§impl From<SamplePlayMode> for u8
 
impl From<SamplePlayMode> for u8
Source§fn from(enum_value: SamplePlayMode) -> Self
 
fn from(enum_value: SamplePlayMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SamplePlayMode
 
impl PartialEq for SamplePlayMode
Source§impl TryFrom<u8> for SamplePlayMode
 
impl TryFrom<u8> for SamplePlayMode
Source§type Error = TryFromPrimitiveError<SamplePlayMode>
 
type Error = TryFromPrimitiveError<SamplePlayMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for SamplePlayMode
 
impl TryFromPrimitive for SamplePlayMode
const NAME: &'static str = "SamplePlayMode"
type Primitive = u8
type Error = TryFromPrimitiveError<SamplePlayMode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SamplePlayMode
impl StructuralPartialEq for SamplePlayMode
Auto Trait Implementations§
impl Freeze for SamplePlayMode
impl RefUnwindSafe for SamplePlayMode
impl Send for SamplePlayMode
impl Sync for SamplePlayMode
impl Unpin for SamplePlayMode
impl UnwindSafe for SamplePlayMode
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