Trait Event

Source
pub trait Event {
    // Required method
    fn header(&self) -> &Header;

    // Provided method
    fn to_bytes(&self) -> &[u8]  { ... }
}

Required Methods§

Source

fn header(&self) -> &Header

Provided Methods§

Source

fn to_bytes(&self) -> &[u8]

Implementors§

Source§

impl Event for Midi2<'_>

Source§

impl Event for Midi<'_>

Source§

impl Event for Note<'_>

Source§

impl Event for NoteExpression<'_>

Source§

impl Event for ParamMod<'_>

Source§

impl Event for ParamValue<'_>

Source§

impl Event for Transport<'_>