Type Alias synthNoteOnFunc

Source
pub type synthNoteOnFunc = Option<unsafe extern "C" fn(userdata: *mut c_void, note: MIDINote, velocity: c_float, len: c_float)>;

Aliased Type§

pub enum synthNoteOnFunc {
    None,
    Some(unsafe extern "C" fn(*mut c_void, f32, f32, f32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, f32, f32, f32))

Some value of type T.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.