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.
This is not a valid message in a MIDI file, since it overlaps with the MIDI file’s Meta messages. If you add this message to a MIDI file, it will be ignored upon serialization.
Trait Implementations§
Source§impl Clone for SystemRealTimeMsg
impl Clone for SystemRealTimeMsg
Source§fn clone(&self) -> SystemRealTimeMsg
fn clone(&self) -> SystemRealTimeMsg
Returns a duplicate 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
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