Struct clap_sys::ext::draft::context_menu::clap_host_context_menu
source · #[repr(C)]pub struct clap_host_context_menu {
pub populate: Option<unsafe extern "C" fn(host: *const clap_host, target: *const clap_context_menu_target, builder: *const clap_context_menu_builder) -> bool>,
pub perform: Option<unsafe extern "C" fn(host: *const clap_host, target: *const clap_context_menu_target, action_id: clap_id) -> bool>,
pub can_popup: Option<unsafe extern "C" fn(host: *const clap_host) -> bool>,
pub popup: Option<unsafe extern "C" fn(host: *const clap_host, target: *const clap_context_menu_target, screen_index: i32, x: i32, y: i32) -> bool>,
}Fields§
§populate: Option<unsafe extern "C" fn(host: *const clap_host, target: *const clap_context_menu_target, builder: *const clap_context_menu_builder) -> bool>§perform: Option<unsafe extern "C" fn(host: *const clap_host, target: *const clap_context_menu_target, action_id: clap_id) -> bool>§can_popup: Option<unsafe extern "C" fn(host: *const clap_host) -> bool>§popup: Option<unsafe extern "C" fn(host: *const clap_host, target: *const clap_context_menu_target, screen_index: i32, x: i32, y: i32) -> bool>Trait Implementations§
source§fn clone(&self) -> clap_host_context_menu
fn clone(&self) -> clap_host_context_menu
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