#[repr(u8)]pub enum SystemStatus {
TimeCode = 241,
SongPositionPointer = 242,
SongSelect = 243,
TuneRequest = 246,
TimingClock = 248,
Start = 250,
Continue = 251,
Stop = 252,
ActiveSensing = 254,
Reset = 255,
}Expand description
Represents the status byte of a System message.
Variants§
TimeCode = 241
MIDI time code. Data is the MIDI time code value.
SongPositionPointer = 242
The song position pointer. Data is the position in the song.
SongSelect = 243
A song selection message. Data is the song to be selected.
TuneRequest = 246
A tune request message. Data is reserved.
TimingClock = 248
A timing clock message. Data is reserved.
Start = 250
A “start” transport message. Data is reserved.
Continue = 251
A “continue” transport message. Data is reserved.
Stop = 252
A “stop” transport message. Data is reserved.
ActiveSensing = 254
Enable active sensing mode.
Reset = 255
Reset the device.
Trait Implementations§
Source§impl Clone for SystemStatus
impl Clone for SystemStatus
Source§fn clone(&self) -> SystemStatus
fn clone(&self) -> SystemStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemStatus
Source§impl Debug for SystemStatus
impl Debug for SystemStatus
impl Eq for SystemStatus
Source§impl Hash for SystemStatus
impl Hash for SystemStatus
Source§impl PartialEq for SystemStatus
impl PartialEq for SystemStatus
Source§fn eq(&self, other: &SystemStatus) -> bool
fn eq(&self, other: &SystemStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SystemStatus
Auto Trait Implementations§
impl Freeze for SystemStatus
impl RefUnwindSafe for SystemStatus
impl Send for SystemStatus
impl Sync for SystemStatus
impl Unpin for SystemStatus
impl UnsafeUnpin for SystemStatus
impl UnwindSafe for SystemStatus
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