Enum midi_msg::ExtendedLoopType
source · pub enum ExtendedLoopType {
Forward = 0,
BiDirectional = 1,
ForwardRelease = 2,
BiDirectionalRelease = 3,
Backward = 64,
BackwardBiDirectional = 65,
BackwardRelease = 66,
BackwardBiDirectionalRelease = 67,
BackwardOneShot = 126,
OneShot = 127,
}
Expand description
The type of loop being described by a SampleDumpMsg
.
Variants§
Forward = 0
A forward, unidirectional loop
BiDirectional = 1
Loop starts playing forward, gets to end and plays backward, repeating
ForwardRelease = 2
A unidirectional loop, upon key release the rest of the sample is played
BiDirectionalRelease = 3
A bidirectional loop, upon key release the rest of the sample is played
Backward = 64
A backward, unidirectional loop
BackwardBiDirectional = 65
Like BiDirectional, but starts playing in reverse
BackwardRelease = 66
A backward unidirectional loop, upon key release the rest of the sample after the loop is played backwards
BackwardBiDirectionalRelease = 67
A bidirectional loop, starting from the end playing backward, upon key release the rest of the sample after the loop is played backwards
BackwardOneShot = 126
Backwards one-shot, no looping
OneShot = 127
Forwards one-shot, no looping
Trait Implementations§
source§impl Clone for ExtendedLoopType
impl Clone for ExtendedLoopType
source§fn clone(&self) -> ExtendedLoopType
fn clone(&self) -> ExtendedLoopType
Returns a copy 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 ExtendedLoopType
impl Debug for ExtendedLoopType
source§impl PartialEq for ExtendedLoopType
impl PartialEq for ExtendedLoopType
source§fn eq(&self, other: &ExtendedLoopType) -> bool
fn eq(&self, other: &ExtendedLoopType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ExtendedLoopType
impl Eq for ExtendedLoopType
impl StructuralPartialEq for ExtendedLoopType
Auto Trait Implementations§
impl Freeze for ExtendedLoopType
impl RefUnwindSafe for ExtendedLoopType
impl Send for ExtendedLoopType
impl Sync for ExtendedLoopType
impl Unpin for ExtendedLoopType
impl UnwindSafe for ExtendedLoopType
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