pub enum MachineControlCommandMsg {
Show 18 variants
Stop,
Play,
DeferredPlay,
FastForward,
Rewind,
RecordStrobe,
RecordExit,
RecordPause,
Pause,
Eject,
Chase,
CommandErrorReset,
MMCReset,
LocateInformationField(InformationField),
LocateTarget(StandardTimeCode),
Wait,
Resume,
Unimplemented(Vec<u8>),
}
Expand description
A MIDI Machine Control Command.
Used by UniversalRealTimeMsg::MachineControlCommand
.
Only partially implemented. The Unimplemented
value can be used to
represent commands not supported here.
As defined in MIDI Machine Control 1.0 (MMA0016 / RP013)
Variants§
Stop
Play
DeferredPlay
FastForward
Rewind
RecordStrobe
RecordExit
RecordPause
Pause
Eject
Chase
CommandErrorReset
MMCReset
LocateInformationField(InformationField)
Only InformationField::GPO-GP7
are valid
LocateTarget(StandardTimeCode)
Wait
Resume
Unimplemented(Vec<u8>)
Used to represent all unimplemented MCC messages. Is inherently not guaranteed to be a valid message.
Trait Implementations§
source§impl Clone for MachineControlCommandMsg
impl Clone for MachineControlCommandMsg
source§fn clone(&self) -> MachineControlCommandMsg
fn clone(&self) -> MachineControlCommandMsg
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 MachineControlCommandMsg
impl Debug for MachineControlCommandMsg
source§impl PartialEq for MachineControlCommandMsg
impl PartialEq for MachineControlCommandMsg
source§fn eq(&self, other: &MachineControlCommandMsg) -> bool
fn eq(&self, other: &MachineControlCommandMsg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MachineControlCommandMsg
impl StructuralPartialEq for MachineControlCommandMsg
Auto Trait Implementations§
impl Freeze for MachineControlCommandMsg
impl RefUnwindSafe for MachineControlCommandMsg
impl Send for MachineControlCommandMsg
impl Sync for MachineControlCommandMsg
impl Unpin for MachineControlCommandMsg
impl UnwindSafe for MachineControlCommandMsg
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