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§
source§impl Clone for LoopNumber
impl Clone for LoopNumber
source§fn clone(&self) -> LoopNumber
fn clone(&self) -> LoopNumber
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 LoopNumber
impl Debug for LoopNumber
source§impl PartialEq for LoopNumber
impl PartialEq for LoopNumber
source§fn eq(&self, other: &LoopNumber) -> bool
fn eq(&self, other: &LoopNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LoopNumber
impl Eq for LoopNumber
impl StructuralPartialEq for LoopNumber
Auto Trait Implementations§
impl Freeze for LoopNumber
impl RefUnwindSafe for LoopNumber
impl Send for LoopNumber
impl Sync for LoopNumber
impl Unpin for LoopNumber
impl UnwindSafe for LoopNumber
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