pub struct MidiEvent;
Expand description
Midi Event.
This low-level implementation is basically the same as a chunk atom: It reads a slice of bytes and writes with a ByteWriter
.
Trait Implementations§
Source§impl<'a, 'b> Atom<'a, 'b> for MidiEventwhere
'a: 'b,
impl<'a, 'b> Atom<'a, 'b> for MidiEventwhere
'a: 'b,
Source§type ReadParameter = ()
type ReadParameter = ()
The atom-specific parameter of the
read
function. Read moreSource§type ReadHandle = &'a [u8]
type ReadHandle = &'a [u8]
The return value of the
read
function. Read moreSource§type WriteParameter = ()
type WriteParameter = ()
The atom-specific parameter of the
write
function. Read moreSource§type WriteHandle = FramedMutSpace<'a, 'b>
type WriteHandle = FramedMutSpace<'a, 'b>
The return value of the
write
function. Read moreSource§fn init(frame: FramedMutSpace<'a, 'b>, _: ()) -> Option<FramedMutSpace<'a, 'b>>
fn init(frame: FramedMutSpace<'a, 'b>, _: ()) -> Option<FramedMutSpace<'a, 'b>>
Initialize the body of the atom. Read more
Auto Trait Implementations§
impl Freeze for MidiEvent
impl RefUnwindSafe for MidiEvent
impl Send for MidiEvent
impl Sync for MidiEvent
impl Unpin for MidiEvent
impl UnwindSafe for MidiEvent
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