#[repr(C)]pub struct WindowVTable {
pub base: <WindowBase as ObjectType>::VTable,
pub handle_closing: fn(&Window, WindowCloseReason) -> bool,
pub on_closing: fn(&Window, &WindowClosingEventArgs),
}Expand description
The virtual table of the class.
Fields§
§base: <WindowBase as ObjectType>::VTable§handle_closing: fn(&Window, WindowCloseReason) -> bool§on_closing: fn(&Window, &WindowClosingEventArgs)Trait Implementations§
Source§impl Clone for WindowVTable
impl Clone for WindowVTable
impl Copy for WindowVTable
Auto Trait Implementations§
impl Freeze for WindowVTable
impl RefUnwindSafe for WindowVTable
impl Send for WindowVTable
impl Sync for WindowVTable
impl Unpin for WindowVTable
impl UnsafeUnpin for WindowVTable
impl UnwindSafe for WindowVTable
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