pub struct SysEx {
pub data: [u8; 512],
pub len: u16,
}Expand description
System Exclusive (SysEx) message.
Uses a fixed-size buffer for efficient storage. When used in MidiEventKind,
it is boxed (Box<SysEx>) to prevent the large buffer from bloating the enum
size and causing stack overflow.
The buffer size is configurable via Cargo features (default 512 bytes).
Fields§
§data: [u8; 512]Raw SysEx data (excluding F0/F7 framing bytes).
len: u16Actual length of valid data in the buffer.
Implementations§
Trait Implementations§
impl Copy for SysEx
Auto Trait Implementations§
impl Freeze for SysEx
impl RefUnwindSafe for SysEx
impl Send for SysEx
impl Sync for SysEx
impl Unpin for SysEx
impl UnwindSafe for SysEx
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