#[repr(C)]pub struct NativeControlHostVTable {
pub base: <Control as ObjectType>::VTable,
pub create_native_control_core: fn(&NativeControlHost, Rc<dyn IPlatformHandle>) -> Rc<dyn IPlatformHandle>,
pub destroy_native_control_core: fn(&NativeControlHost, Rc<dyn IPlatformHandle>),
}Expand description
The virtual table of the class.
Fields§
§base: <Control as ObjectType>::VTable§create_native_control_core: fn(&NativeControlHost, Rc<dyn IPlatformHandle>) -> Rc<dyn IPlatformHandle>§destroy_native_control_core: fn(&NativeControlHost, Rc<dyn IPlatformHandle>)Trait Implementations§
Source§impl Clone for NativeControlHostVTable
impl Clone for NativeControlHostVTable
impl Copy for NativeControlHostVTable
Auto Trait Implementations§
impl Freeze for NativeControlHostVTable
impl RefUnwindSafe for NativeControlHostVTable
impl Send for NativeControlHostVTable
impl Sync for NativeControlHostVTable
impl Unpin for NativeControlHostVTable
impl UnsafeUnpin for NativeControlHostVTable
impl UnwindSafe for NativeControlHostVTable
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