[][src]Struct lv2_sys::_LV2_Feature

#[repr(C)]
pub struct _LV2_Feature {
    pub URI: *const c_char,
    pub data: *mut c_void,
}

Feature.

Features allow hosts to make additional functionality available to plugins without requiring modification to the LV2 API. Extensions may define new features and specify the URI and data to be used if necessary. Some features, such as lv2:isLive, do not require the host to pass data.

Fields

URI: *const c_char

A globally unique, case-sensitive identifier (URI) for this feature.

This MUST be a valid URI string as defined by RFC 3986.

data: *mut c_void

Pointer to arbitrary data.

The format of this data is defined by the extension which describes the feature with the given URI.

Trait Implementations

impl Clone for _LV2_Feature[src]

impl Copy for _LV2_Feature[src]

impl Debug for _LV2_Feature[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.