Enum midi_msg::LoopNumber
source · [−]pub enum LoopNumber {
Loop(u16),
RequestAll,
DeleteAll,
}
Expand description
What loop a SampleDumpMsg
or ExtendedSampleDumpMsg
is referring to.
Variants
Loop(u16)
A loop with the given ID, 0-16382.
RequestAll
Used by SampleDumpMsg::LoopPointsRequest
to request all loops.
DeleteAll
Used by SampleDumpMsg::LoopPointTransmission
to indicate that all loops should be deleted.
Trait Implementations
sourceimpl Clone for LoopNumber
impl Clone for LoopNumber
sourcefn clone(&self) -> LoopNumber
fn clone(&self) -> LoopNumber
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 LoopNumber
impl Debug for LoopNumber
sourceimpl PartialEq<LoopNumber> for LoopNumber
impl PartialEq<LoopNumber> for LoopNumber
sourcefn eq(&self, other: &LoopNumber) -> bool
fn eq(&self, other: &LoopNumber) -> bool
impl Copy for LoopNumber
impl Eq for LoopNumber
impl StructuralEq for LoopNumber
impl StructuralPartialEq for LoopNumber
Auto Trait Implementations
impl RefUnwindSafe for LoopNumber
impl Send for LoopNumber
impl Sync for LoopNumber
impl Unpin for LoopNumber
impl UnwindSafe for LoopNumber
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