[−][src]Struct lv2_sys::_LV2_Options_Option
An option.
This is a property with a subject, also known as a triple or statement.
This struct is useful anywhere a statement needs to be passed where no memory ownership issues are present (since the value is a const pointer).
Options can be passed to an instance via the feature LV2_OPTIONS__options with data pointed to an array of options terminated by a zeroed option, or accessed/manipulated using LV2_Options_Interface.
Fields
context: LV2_Options_Context< Context (type of subject).
subject: u32< Subject.
key: LV2_URID< Key (property).
size: u32< Size of value in bytes.
type_: LV2_URID< Type of value (datatype).
value: *const c_void< Pointer to value (object).
Trait Implementations
impl Clone for _LV2_Options_Option[src]
fn clone(&self) -> _LV2_Options_Option[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for _LV2_Options_Option[src]
impl Debug for _LV2_Options_Option[src]
Auto Trait Implementations
impl RefUnwindSafe for _LV2_Options_Option
impl !Send for _LV2_Options_Option
impl !Sync for _LV2_Options_Option
impl Unpin for _LV2_Options_Option
impl UnwindSafe for _LV2_Options_Option
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>,