#[repr(C)]pub struct clap_plugin_state_context {
pub save: Option<unsafe extern "C" fn(plugin: *const clap_plugin, stream: *const clap_ostream, context_type: clap_plugin_state_context_type) -> bool>,
pub load: Option<unsafe extern "C" fn(plugin: *const clap_plugin, stream: *const clap_istream, context_type: clap_plugin_state_context_type) -> bool>,
}Fields§
§save: Option<unsafe extern "C" fn(plugin: *const clap_plugin, stream: *const clap_ostream, context_type: clap_plugin_state_context_type) -> bool>§load: Option<unsafe extern "C" fn(plugin: *const clap_plugin, stream: *const clap_istream, context_type: clap_plugin_state_context_type) -> bool>Trait Implementations§
Source§impl Clone for clap_plugin_state_context
impl Clone for clap_plugin_state_context
Source§fn clone(&self) -> clap_plugin_state_context
fn clone(&self) -> clap_plugin_state_context
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 clap_plugin_state_context
impl Debug for clap_plugin_state_context
impl Copy for clap_plugin_state_context
Auto Trait Implementations§
impl Freeze for clap_plugin_state_context
impl RefUnwindSafe for clap_plugin_state_context
impl Send for clap_plugin_state_context
impl Sync for clap_plugin_state_context
impl Unpin for clap_plugin_state_context
impl UnwindSafe for clap_plugin_state_context
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