Enum midi_msg::SystemExclusiveMsg
source · [−]pub enum SystemExclusiveMsg {
Commercial {
id: ManufacturerID,
data: Vec<u8>,
},
NonCommercial {
data: Vec<u8>,
},
UniversalRealTime {
device: DeviceID,
msg: UniversalRealTimeMsg,
},
UniversalNonRealTime {
device: DeviceID,
msg: UniversalNonRealTimeMsg,
},
}
Expand description
The bulk of the MIDI spec lives here, in “Universal System Exclusive” messages.
Also used for manufacturer-specific messages.
Used in MidiMsg
.
Variants
Commercial
An arbitrary set of 7-bit “bytes”, the meaning of which must be derived from the message, the definition of which is determined by the given manufacturer.
NonCommercial
Similar to Commercial
but for use in non-commercial situations.
UniversalRealTime
A diverse range of messages, for real-time applications.
A message is targeted to the given device
.
UniversalNonRealTime
A diverse range of messages, for non-real-time applications.
A message is targeted to the given device
.
Trait Implementations
sourceimpl Clone for SystemExclusiveMsg
impl Clone for SystemExclusiveMsg
sourcefn clone(&self) -> SystemExclusiveMsg
fn clone(&self) -> SystemExclusiveMsg
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 SystemExclusiveMsg
impl Debug for SystemExclusiveMsg
sourceimpl PartialEq<SystemExclusiveMsg> for SystemExclusiveMsg
impl PartialEq<SystemExclusiveMsg> for SystemExclusiveMsg
sourcefn eq(&self, other: &SystemExclusiveMsg) -> bool
fn eq(&self, other: &SystemExclusiveMsg) -> bool
impl StructuralPartialEq for SystemExclusiveMsg
Auto Trait Implementations
impl RefUnwindSafe for SystemExclusiveMsg
impl Send for SystemExclusiveMsg
impl Sync for SystemExclusiveMsg
impl Unpin for SystemExclusiveMsg
impl UnwindSafe for SystemExclusiveMsg
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