#[repr(C)]pub struct MenuItemVTable {
pub base: <HeaderedSelectingItemsControl as ObjectType>::VTable,
pub on_click: fn(&MenuItem, &RoutedEventArgs),
pub on_submenu_opened: fn(&MenuItem, &RoutedEventArgs),
}Expand description
The virtual table of the class.
Fields§
§base: <HeaderedSelectingItemsControl as ObjectType>::VTable§on_click: fn(&MenuItem, &RoutedEventArgs)Trait Implementations§
Source§impl Clone for MenuItemVTable
impl Clone for MenuItemVTable
impl Copy for MenuItemVTable
Auto Trait Implementations§
impl Freeze for MenuItemVTable
impl RefUnwindSafe for MenuItemVTable
impl Send for MenuItemVTable
impl Sync for MenuItemVTable
impl Unpin for MenuItemVTable
impl UnsafeUnpin for MenuItemVTable
impl UnwindSafe for MenuItemVTable
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more