#[repr(C)]pub struct clap_plugin_undo_context {
pub set_can_undo: Option<unsafe extern "C" fn(plugin: *const clap_plugin, can_undo: bool)>,
pub set_can_redo: Option<unsafe extern "C" fn(plugin: *const clap_plugin, can_redo: bool)>,
pub set_undo_name: Option<unsafe extern "C" fn(plugin: *const clap_plugin, name: *const c_char)>,
pub set_redo_name: Option<unsafe extern "C" fn(plugin: *const clap_plugin, name: *const c_char)>,
}Fields§
§set_can_undo: Option<unsafe extern "C" fn(plugin: *const clap_plugin, can_undo: bool)>§set_can_redo: Option<unsafe extern "C" fn(plugin: *const clap_plugin, can_redo: bool)>§set_undo_name: Option<unsafe extern "C" fn(plugin: *const clap_plugin, name: *const c_char)>§set_redo_name: Option<unsafe extern "C" fn(plugin: *const clap_plugin, name: *const c_char)>Trait Implementations§
Source§impl Clone for clap_plugin_undo_context
impl Clone for clap_plugin_undo_context
Source§fn clone(&self) -> clap_plugin_undo_context
fn clone(&self) -> clap_plugin_undo_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_undo_context
impl Debug for clap_plugin_undo_context
impl Copy for clap_plugin_undo_context
Auto Trait Implementations§
impl Freeze for clap_plugin_undo_context
impl RefUnwindSafe for clap_plugin_undo_context
impl Send for clap_plugin_undo_context
impl Sync for clap_plugin_undo_context
impl Unpin for clap_plugin_undo_context
impl UnwindSafe for clap_plugin_undo_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