#[repr(C)]
pub struct clap_plugin_file_reference { pub count: unsafe extern "C" fn(plugin: *const clap_plugin) -> u32, pub get: unsafe extern "C" fn(plugin: *const clap_plugin, index: u32, file_reference: *mut clap_file_reference) -> bool, pub get_blake3_digest: unsafe extern "C" fn(plugin: *const clap_plugin, resource_id: clap_id, digest: *mut u8) -> bool, pub get_file_size: unsafe extern "C" fn(plugin: *const clap_plugin, resource_id: clap_id, size: *mut u64) -> bool, pub update_path: unsafe extern "C" fn(plugin: *const clap_plugin, resource_id: clap_id, path: *const c_char) -> bool, pub save_resources: unsafe extern "C" fn(plugin: *const clap_plugin) -> bool, }

Fields

count: unsafe extern "C" fn(plugin: *const clap_plugin) -> u32get: unsafe extern "C" fn(plugin: *const clap_plugin, index: u32, file_reference: *mut clap_file_reference) -> boolget_blake3_digest: unsafe extern "C" fn(plugin: *const clap_plugin, resource_id: clap_id, digest: *mut u8) -> boolget_file_size: unsafe extern "C" fn(plugin: *const clap_plugin, resource_id: clap_id, size: *mut u64) -> boolupdate_path: unsafe extern "C" fn(plugin: *const clap_plugin, resource_id: clap_id, path: *const c_char) -> boolsave_resources: unsafe extern "C" fn(plugin: *const clap_plugin) -> bool

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.