[][src]Struct lv2_sys::LV2_State_Free_Path

#[repr(C)]pub struct LV2_State_Free_Path {
    pub handle: LV2_State_Free_Path_Handle,
    pub free_path: Option<unsafe extern "C" fn(handle: LV2_State_Free_Path_Handle, path: *mut c_char)>,
}

Feature data for state:freePath (@ref LV2_STATE__freePath).

Fields

handle: LV2_State_Free_Path_Handle

Opaque host data.

free_path: Option<unsafe extern "C" fn(handle: LV2_State_Free_Path_Handle, path: *mut c_char)>

Free a path returned by a state feature.

@param handle MUST be the handle member of this struct. @param path The path previously returned by a state feature.

This function can be used by plugins to free paths allocated by the host and returned by state features (LV2_State_Map_Path.abstract_path(), LV2_State_Map_Path.absolute_path(), and LV2_State_Make_Path.path()).

Trait Implementations

impl Clone for LV2_State_Free_Path[src]

impl Copy for LV2_State_Free_Path[src]

impl Debug for LV2_State_Free_Path[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.