Struct clap_sys::ext::draft::context_menu::clap_context_menu_builder
source · #[repr(C)]pub struct clap_context_menu_builder {
pub ctx: *mut c_void,
pub add_item: Option<unsafe extern "C" fn(builder: *const clap_context_menu_builder, item_kind: clap_context_menu_item_kind, item_data: *const c_void) -> bool>,
pub supports: Option<unsafe extern "C" fn(builder: *const clap_context_menu_builder, item_kind: clap_context_menu_item_kind) -> bool>,
}Fields§
§ctx: *mut c_void§add_item: Option<unsafe extern "C" fn(builder: *const clap_context_menu_builder, item_kind: clap_context_menu_item_kind, item_data: *const c_void) -> bool>§supports: Option<unsafe extern "C" fn(builder: *const clap_context_menu_builder, item_kind: clap_context_menu_item_kind) -> bool>Trait Implementations§
source§fn clone(&self) -> clap_context_menu_builder
fn clone(&self) -> clap_context_menu_builder
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 moreAuto Trait Implementations§
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