Enum midi_msg::SystemRealTimeMsg
source · [−]pub enum SystemRealTimeMsg {
TimingClock,
Start,
Continue,
Stop,
ActiveSensing,
SystemReset,
}
Expand description
A fairly limited set of messages used for device synchronization.
Used in MidiMsg
.
Variants
TimingClock
Used to synchronize clocks. Sent at a rate of 24 per quarter note.
Start
Start at the beginning of the song or sequence.
Continue
Continue from the current location in the song or sequence.
Stop
Stop playback.
ActiveSensing
Sent every 300ms or less whenever other MIDI data is not sent. Used to indicate that the given device is still connected.
SystemReset
Request that all devices are reset to their power-up state.
Trait Implementations
sourceimpl Clone for SystemRealTimeMsg
impl Clone for SystemRealTimeMsg
sourcefn clone(&self) -> SystemRealTimeMsg
fn clone(&self) -> SystemRealTimeMsg
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 SystemRealTimeMsg
impl Debug for SystemRealTimeMsg
sourceimpl PartialEq<SystemRealTimeMsg> for SystemRealTimeMsg
impl PartialEq<SystemRealTimeMsg> for SystemRealTimeMsg
sourcefn eq(&self, other: &SystemRealTimeMsg) -> bool
fn eq(&self, other: &SystemRealTimeMsg) -> bool
impl Copy for SystemRealTimeMsg
impl Eq for SystemRealTimeMsg
impl StructuralEq for SystemRealTimeMsg
impl StructuralPartialEq for SystemRealTimeMsg
Auto Trait Implementations
impl RefUnwindSafe for SystemRealTimeMsg
impl Send for SystemRealTimeMsg
impl Sync for SystemRealTimeMsg
impl Unpin for SystemRealTimeMsg
impl UnwindSafe for SystemRealTimeMsg
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