#[repr(C)]pub struct TemplatedControlVTable {
pub base: <Control as ObjectType>::VTable,
pub on_apply_template: fn(&TemplatedControl, &TemplateAppliedEventArgs),
pub on_template_changed: fn(&TemplatedControl, &FerroPropertyChangedEventArgs<'_>),
}Expand description
The virtual table of the class.
Fields§
§base: <Control as ObjectType>::VTable§on_apply_template: fn(&TemplatedControl, &TemplateAppliedEventArgs)§on_template_changed: fn(&TemplatedControl, &FerroPropertyChangedEventArgs<'_>)Trait Implementations§
Source§impl Clone for TemplatedControlVTable
impl Clone for TemplatedControlVTable
impl Copy for TemplatedControlVTable
Auto Trait Implementations§
impl Freeze for TemplatedControlVTable
impl RefUnwindSafe for TemplatedControlVTable
impl Send for TemplatedControlVTable
impl Sync for TemplatedControlVTable
impl Unpin for TemplatedControlVTable
impl UnsafeUnpin for TemplatedControlVTable
impl UnwindSafe for TemplatedControlVTable
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