retro_midi_write_t

Type Alias retro_midi_write_t 

Source
pub type retro_midi_write_t = Option<unsafe extern "C" fn(byte: u8, delta_time: u32) -> bool>;
Expand description

Writes byte to the output stream. ‘delta_time’ is in microseconds and represent time elapsed since previous write. Returns true if byte is written, false otherwise.

Aliased Type§

pub enum retro_midi_write_t {
    None,
    Some(unsafe extern "C" fn(u8, u32) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u8, u32) -> bool)

Some value of type T.