[−][src]Struct lv2_sys::LV2_Extension_Data_Feature
The data field of the LV2_Feature for this extension.
To support this feature the host must pass an LV2_Feature struct to the instantiate method with URI "http://lv2plug.in/ns/ext/data-access" and data pointed to an instance of this struct.
Fields
data_access: Option<unsafe extern "C" fn(uri: *const c_char) -> *const c_void>
A pointer to a method the UI can call to get data (of a type specified by some other extension) from the plugin.
This call never is never guaranteed to return anything, UIs should degrade gracefully if direct access to the plugin data is not possible (in which case this function will return NULL).
This is for access to large data that can only possibly work if the UI and plugin are running in the same process. For all other things, use the normal LV2 UI communication system.
Trait Implementations
impl Clone for LV2_Extension_Data_Feature
[src]
fn clone(&self) -> LV2_Extension_Data_Feature
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LV2_Extension_Data_Feature
[src]
impl Debug for LV2_Extension_Data_Feature
[src]
Auto Trait Implementations
impl RefUnwindSafe for LV2_Extension_Data_Feature
impl Send for LV2_Extension_Data_Feature
impl Sync for LV2_Extension_Data_Feature
impl Unpin for LV2_Extension_Data_Feature
impl UnwindSafe for LV2_Extension_Data_Feature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,