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
sourceimpl Clone for MachineControlCommandMsg
impl Clone for MachineControlCommandMsg
sourcefn clone(&self) -> MachineControlCommandMsg
fn clone(&self) -> MachineControlCommandMsg
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 MachineControlCommandMsg
impl Debug for MachineControlCommandMsg
sourceimpl PartialEq<MachineControlCommandMsg> for MachineControlCommandMsg
impl PartialEq<MachineControlCommandMsg> for MachineControlCommandMsg
sourcefn eq(&self, other: &MachineControlCommandMsg) -> bool
fn eq(&self, other: &MachineControlCommandMsg) -> bool
impl Eq for MachineControlCommandMsg
impl StructuralEq for MachineControlCommandMsg
impl StructuralPartialEq for MachineControlCommandMsg
Auto Trait Implementations
impl RefUnwindSafe for MachineControlCommandMsg
impl Send for MachineControlCommandMsg
impl Sync for MachineControlCommandMsg
impl Unpin for MachineControlCommandMsg
impl UnwindSafe for MachineControlCommandMsg
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