#[repr(C)]pub struct LV2_Feature {
pub URI: *const c_char,
pub data: *mut c_void,
}Expand description
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_charA globally unique, case-sensitive identifier (URI) for this feature.
This MUST be a valid URI string as defined by RFC 3986.
data: *mut c_voidPointer to arbitrary data.
The format of this data is defined by the extension which describes the
feature with the given URI.
Trait Implementations§
Source§impl Clone for LV2_Feature
impl Clone for LV2_Feature
Source§fn clone(&self) -> LV2_Feature
fn clone(&self) -> LV2_Feature
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LV2_Feature
impl Debug for LV2_Feature
impl Copy for LV2_Feature
Auto Trait Implementations§
impl Freeze for LV2_Feature
impl RefUnwindSafe for LV2_Feature
impl !Send for LV2_Feature
impl !Sync for LV2_Feature
impl Unpin for LV2_Feature
impl UnwindSafe for LV2_Feature
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more