[][src]Struct lilv_sys::_LV2_Descriptor

#[repr(C)]
pub struct _LV2_Descriptor {
    pub URI: *const c_char,
    pub instantiate: Option<unsafe extern "C" fn(descriptor: *const _LV2_Descriptor, sample_rate: f64, bundle_path: *const c_char, features: *const *const LV2_Feature) -> LV2_Handle>,
    pub connect_port: Option<unsafe extern "C" fn(instance: LV2_Handle, port: u32, data_location: *mut c_void)>,
    pub activate: Option<unsafe extern "C" fn(instance: LV2_Handle)>,
    pub run: Option<unsafe extern "C" fn(instance: LV2_Handle, sample_count: u32)>,
    pub deactivate: Option<unsafe extern "C" fn(instance: LV2_Handle)>,
    pub cleanup: Option<unsafe extern "C" fn(instance: LV2_Handle)>,
    pub extension_data: Option<unsafe extern "C" fn(uri: *const c_char) -> *const c_void>,
}

Fields

URI: *const c_charinstantiate: Option<unsafe extern "C" fn(descriptor: *const _LV2_Descriptor, sample_rate: f64, bundle_path: *const c_char, features: *const *const LV2_Feature) -> LV2_Handle>connect_port: Option<unsafe extern "C" fn(instance: LV2_Handle, port: u32, data_location: *mut c_void)>activate: Option<unsafe extern "C" fn(instance: LV2_Handle)>run: Option<unsafe extern "C" fn(instance: LV2_Handle, sample_count: u32)>deactivate: Option<unsafe extern "C" fn(instance: LV2_Handle)>cleanup: Option<unsafe extern "C" fn(instance: LV2_Handle)>extension_data: Option<unsafe extern "C" fn(uri: *const c_char) -> *const c_void>

Trait Implementations

impl Clone for _LV2_Descriptor[src]

impl Copy for _LV2_Descriptor[src]

impl Debug for _LV2_Descriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]