LV2_Descriptor_Function

Type Alias LV2_Descriptor_Function 

Source
pub type LV2_Descriptor_Function = Option<unsafe extern "C" fn(index: u32) -> *const LV2_Descriptor>;
Expand description

Type of the lv2_descriptor() function in a library (old discovery API).

Aliased Type§

pub enum LV2_Descriptor_Function {
    None,
    Some(unsafe extern "C" fn(u32) -> *const LV2_Descriptor),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32) -> *const LV2_Descriptor)

Some value of type T.