[−][src]Struct lv2_sys::_LV2_Options_Interface
Interface for dynamically setting options (LV2_OPTIONS__interface).
Fields
get: Option<unsafe extern "C" fn(instance: LV2_Handle, options: *mut LV2_Options_Option) -> u32>
Get the given options.
Each element of the passed options array MUST have type, subject, and key set. All other fields (size, type, value) MUST be initialised to zero, and are set to the option value if such an option is found.
This function is in the "instantiation" LV2 threading class, so no other instance functions may be called concurrently.
@return Bitwise OR of LV2_Options_Status values.
set: Option<unsafe extern "C" fn(instance: LV2_Handle, options: *const LV2_Options_Option) -> u32>
Set the given options.
This function is in the "instantiation" LV2 threading class, so no other instance functions may be called concurrently.
@return Bitwise OR of LV2_Options_Status values.
Trait Implementations
impl Clone for _LV2_Options_Interface
[src]
fn clone(&self) -> _LV2_Options_Interface
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for _LV2_Options_Interface
[src]
impl Debug for _LV2_Options_Interface
[src]
Auto Trait Implementations
impl RefUnwindSafe for _LV2_Options_Interface
impl Send for _LV2_Options_Interface
impl Sync for _LV2_Options_Interface
impl Unpin for _LV2_Options_Interface
impl UnwindSafe for _LV2_Options_Interface
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>,