pub enum SysExEvent {
F0 {
data: Vec<u8>,
},
F7 {
data: Vec<u8>,
},
}Expand description
A system-exclusive event, distinguished by its leading status byte.
Variants§
F0
A complete or first-packet message introduced by 0xF0.
F7
A continuation or escape packet introduced by 0xF7.
Trait Implementations§
Source§impl Clone for SysExEvent
impl Clone for SysExEvent
Source§fn clone(&self) -> SysExEvent
fn clone(&self) -> SysExEvent
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 moreSource§impl Debug for SysExEvent
impl Debug for SysExEvent
impl Eq for SysExEvent
Source§impl Hash for SysExEvent
impl Hash for SysExEvent
Source§impl PartialEq for SysExEvent
impl PartialEq for SysExEvent
Source§fn eq(&self, other: &SysExEvent) -> bool
fn eq(&self, other: &SysExEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SysExEvent
Auto Trait Implementations§
impl Freeze for SysExEvent
impl RefUnwindSafe for SysExEvent
impl Send for SysExEvent
impl Sync for SysExEvent
impl Unpin for SysExEvent
impl UnsafeUnpin for SysExEvent
impl UnwindSafe for SysExEvent
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