Enum midi_msg::ExtendedLoopType
source · [−]pub enum ExtendedLoopType {
Forward,
BiDirectional,
ForwardRelease,
BiDirectionalRelease,
Backward,
BackwardBiDirectional,
BackwardRelease,
BackwardBiDirectionalRelease,
BackwardOneShot,
OneShot,
}
Expand description
The type of loop being described by a SampleDumpMsg
.
Variants
Forward
A forward, unidirectional loop
BiDirectional
Loop starts playing forward, gets to end and plays backward, repeating
ForwardRelease
A unidirectional loop, upon key release the rest of the sample is played
BiDirectionalRelease
A bidirectional loop, upon key release the rest of the sample is played
Backward
A backward, unidirectional loop
BackwardBiDirectional
Like BiDirectional, but starts playing in reverse
BackwardRelease
A backward unidirectional loop, upon key release the rest of the sample after the loop is played backwards
BackwardBiDirectionalRelease
A bidirectional loop, starting from the end playing backward, upon key release the rest of the sample after the loop is played backwards
BackwardOneShot
Backwards one-shot, no looping
OneShot
Forwards one-shot, no looping
Trait Implementations
sourceimpl Clone for ExtendedLoopType
impl Clone for ExtendedLoopType
sourcefn clone(&self) -> ExtendedLoopType
fn clone(&self) -> ExtendedLoopType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExtendedLoopType
impl Debug for ExtendedLoopType
sourceimpl PartialEq<ExtendedLoopType> for ExtendedLoopType
impl PartialEq<ExtendedLoopType> for ExtendedLoopType
sourcefn eq(&self, other: &ExtendedLoopType) -> bool
fn eq(&self, other: &ExtendedLoopType) -> bool
impl Copy for ExtendedLoopType
impl Eq for ExtendedLoopType
impl StructuralEq for ExtendedLoopType
impl StructuralPartialEq for ExtendedLoopType
Auto Trait Implementations
impl RefUnwindSafe for ExtendedLoopType
impl Send for ExtendedLoopType
impl Sync for ExtendedLoopType
impl Unpin for ExtendedLoopType
impl UnwindSafe for ExtendedLoopType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more