[][src]Trait midi_event::Write

pub trait Write<Output: AsMut<[u8]> + ?Sized> {
    fn write(self, buffer: &mut Output) -> Option<&[u8]>;
}

Required methods

fn write(self, buffer: &mut Output) -> Option<&[u8]>

If there is enough space, write to the Output and return the slice written to. Buffer contents can be anything if None is returned, and can be anything outside the slice.

Loading content...

Implementors

impl Write<[u8]> for MidiEvent[src]

impl<'_> Write<[u8]> for Event<'_>[src]

Loading content...