#[repr(C)]pub struct clap_plugin_resource_directory {
pub set_directory: Option<unsafe extern "C" fn(plugin: *const clap_plugin, path: *const c_char, is_shared: bool)>,
pub collect: Option<unsafe extern "C" fn(plugin: *const clap_plugin, all: bool)>,
pub get_files_count: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> u32>,
pub get_file_path: Option<unsafe extern "C" fn(plugin: *const clap_plugin, index: u32, path: *mut c_char, path_size: u32) -> i32>,
}Fields§
§set_directory: Option<unsafe extern "C" fn(plugin: *const clap_plugin, path: *const c_char, is_shared: bool)>§collect: Option<unsafe extern "C" fn(plugin: *const clap_plugin, all: bool)>§get_files_count: Option<unsafe extern "C" fn(plugin: *const clap_plugin) -> u32>§get_file_path: Option<unsafe extern "C" fn(plugin: *const clap_plugin, index: u32, path: *mut c_char, path_size: u32) -> i32>Trait Implementations§
source§impl Clone for clap_plugin_resource_directory
impl Clone for clap_plugin_resource_directory
source§fn clone(&self) -> clap_plugin_resource_directory
fn clone(&self) -> clap_plugin_resource_directory
Returns a copy 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 moreimpl Copy for clap_plugin_resource_directory
Auto Trait Implementations§
impl RefUnwindSafe for clap_plugin_resource_directory
impl Send for clap_plugin_resource_directory
impl Sync for clap_plugin_resource_directory
impl Unpin for clap_plugin_resource_directory
impl UnwindSafe for clap_plugin_resource_directory
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