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