Struct clap_sys::ext::draft::file_reference::clap_plugin_file_reference
source · [−]#[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) -> boolTrait Implementations
sourceimpl Clone for clap_plugin_file_reference
impl Clone for clap_plugin_file_reference
sourcefn clone(&self) -> clap_plugin_file_reference
fn clone(&self) -> clap_plugin_file_reference
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for clap_plugin_file_reference
Auto Trait Implementations
impl RefUnwindSafe for clap_plugin_file_reference
impl Send for clap_plugin_file_reference
impl Sync for clap_plugin_file_reference
impl Unpin for clap_plugin_file_reference
impl UnwindSafe for clap_plugin_file_reference
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more