#[repr(C)]pub struct ButtonVTable {
pub base: <ContentControl as ObjectType>::VTable,
pub on_click: fn(&Button),
pub open_flyout: fn(&Button),
pub close_flyout: fn(&Button),
pub on_flyout_opened: fn(&Button),
pub on_flyout_closed: fn(&Button),
}Expand description
The virtual table of the class.
Fields§
§base: <ContentControl as ObjectType>::VTable§on_click: fn(&Button)§open_flyout: fn(&Button)§close_flyout: fn(&Button)§on_flyout_opened: fn(&Button)§on_flyout_closed: fn(&Button)Trait Implementations§
Source§impl Clone for ButtonVTable
impl Clone for ButtonVTable
impl Copy for ButtonVTable
Auto Trait Implementations§
impl Freeze for ButtonVTable
impl RefUnwindSafe for ButtonVTable
impl Send for ButtonVTable
impl Sync for ButtonVTable
impl Unpin for ButtonVTable
impl UnsafeUnpin for ButtonVTable
impl UnwindSafe for ButtonVTable
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