Struct vst3::Steinberg::Vst::IContextMenuVtbl
source · #[repr(C)]pub struct IContextMenuVtbl {
pub base: FUnknownVtbl,
pub getItemCount: unsafe extern "system" fn(this: *mut IContextMenu) -> int32,
pub getItem: unsafe extern "system" fn(this: *mut IContextMenu, index: int32, item: *mut Item, target: *mut *mut IContextMenuTarget) -> tresult,
pub addItem: unsafe extern "system" fn(this: *mut IContextMenu, item: *const Item, target: *mut IContextMenuTarget) -> tresult,
pub removeItem: unsafe extern "system" fn(this: *mut IContextMenu, item: *const Item, target: *mut IContextMenuTarget) -> tresult,
pub popup: unsafe extern "system" fn(this: *mut IContextMenu, x: UCoord, y: UCoord) -> tresult,
}
Fields§
§base: FUnknownVtbl
§getItemCount: unsafe extern "system" fn(this: *mut IContextMenu) -> int32
§getItem: unsafe extern "system" fn(this: *mut IContextMenu, index: int32, item: *mut Item, target: *mut *mut IContextMenuTarget) -> tresult
§addItem: unsafe extern "system" fn(this: *mut IContextMenu, item: *const Item, target: *mut IContextMenuTarget) -> tresult
§removeItem: unsafe extern "system" fn(this: *mut IContextMenu, item: *const Item, target: *mut IContextMenuTarget) -> tresult
§popup: unsafe extern "system" fn(this: *mut IContextMenu, x: UCoord, y: UCoord) -> tresult
Trait Implementations§
source§impl Clone for IContextMenuVtbl
impl Clone for IContextMenuVtbl
source§fn clone(&self) -> IContextMenuVtbl
fn clone(&self) -> IContextMenuVtbl
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 IContextMenuVtbl
Auto Trait Implementations§
impl RefUnwindSafe for IContextMenuVtbl
impl Send for IContextMenuVtbl
impl Sync for IContextMenuVtbl
impl Unpin for IContextMenuVtbl
impl UnwindSafe for IContextMenuVtbl
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