#[repr(C)]pub struct ControlVTable {
pub base: <InputElement as ObjectType>::VTable,
pub get_template_focus_target: fn(&Control) -> Option<Ref<Control>>,
pub on_loaded: fn(&Control, &RoutedEventArgs),
pub on_unloaded: fn(&Control, &RoutedEventArgs),
pub on_size_changed: fn(&Control, &SizeChangedEventArgs),
pub on_create_automation_peer: fn(&Control) -> Ref<AutomationPeer>,
}Expand description
The virtual table of the class.
Fields§
§base: <InputElement as ObjectType>::VTable§get_template_focus_target: fn(&Control) -> Option<Ref<Control>>§on_loaded: fn(&Control, &RoutedEventArgs)§on_unloaded: fn(&Control, &RoutedEventArgs)§on_size_changed: fn(&Control, &SizeChangedEventArgs)§on_create_automation_peer: fn(&Control) -> Ref<AutomationPeer>Trait Implementations§
Source§impl Clone for ControlVTable
impl Clone for ControlVTable
impl Copy for ControlVTable
Auto Trait Implementations§
impl Freeze for ControlVTable
impl RefUnwindSafe for ControlVTable
impl Send for ControlVTable
impl Sync for ControlVTable
impl Unpin for ControlVTable
impl UnsafeUnpin for ControlVTable
impl UnwindSafe for ControlVTable
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