#[repr(C)]pub struct WindowBaseVTable {
pub base: <TopLevel as ObjectType>::VTable,
pub hide: fn(&WindowBase),
pub show: fn(&WindowBase),
pub on_resized: fn(&WindowBase, &WindowResizedEventArgs),
pub arrange_set_bounds: fn(&WindowBase, Size) -> Size,
pub is_visible_changed: fn(&WindowBase, &FerroPropertyChangedEventArgs<'_>),
}Expand description
The virtual table of the class.
Fields§
§base: <TopLevel as ObjectType>::VTable§hide: fn(&WindowBase)§show: fn(&WindowBase)§on_resized: fn(&WindowBase, &WindowResizedEventArgs)§arrange_set_bounds: fn(&WindowBase, Size) -> Size§is_visible_changed: fn(&WindowBase, &FerroPropertyChangedEventArgs<'_>)Trait Implementations§
Source§impl Clone for WindowBaseVTable
impl Clone for WindowBaseVTable
impl Copy for WindowBaseVTable
Auto Trait Implementations§
impl Freeze for WindowBaseVTable
impl RefUnwindSafe for WindowBaseVTable
impl Send for WindowBaseVTable
impl Sync for WindowBaseVTable
impl Unpin for WindowBaseVTable
impl UnsafeUnpin for WindowBaseVTable
impl UnwindSafe for WindowBaseVTable
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