Enum midi_msg::ExtendedLoopType[][src]

pub enum ExtendedLoopType {
    Forward,
    BiDirectional,
    ForwardRelease,
    BiDirectionalRelease,
    Backward,
    BackwardBiDirectional,
    BackwardRelease,
    BackwardBiDirectionalRelease,
    BackwardOneShot,
    OneShot,
}

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

impl Clone for ExtendedLoopType[src]

impl Copy for ExtendedLoopType[src]

impl Debug for ExtendedLoopType[src]

impl PartialEq<ExtendedLoopType> for ExtendedLoopType[src]

impl StructuralPartialEq for ExtendedLoopType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.