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