#[repr(C)]pub struct BehaviorVTable {Show 13 fields
pub base: <FerroObject as ObjectType>::VTable,
pub on_attached: fn(&Behavior),
pub on_detaching: fn(&Behavior),
pub on_attached_to_visual_tree: fn(&Behavior),
pub on_detached_from_visual_tree: fn(&Behavior),
pub on_attached_to_logical_tree_event: fn(&Behavior),
pub on_detached_from_logical_tree_event: fn(&Behavior),
pub on_loaded: fn(&Behavior),
pub on_unloaded: fn(&Behavior),
pub on_initialized_event: fn(&Behavior),
pub on_data_context_changed_event: fn(&Behavior),
pub on_resources_changed_event: fn(&Behavior),
pub on_actual_theme_variant_changed_event: fn(&Behavior),
}Expand description
The virtual table of the class.
Fields§
§base: <FerroObject as ObjectType>::VTable§on_attached: fn(&Behavior)§on_detaching: fn(&Behavior)§on_attached_to_visual_tree: fn(&Behavior)§on_detached_from_visual_tree: fn(&Behavior)§on_attached_to_logical_tree_event: fn(&Behavior)§on_detached_from_logical_tree_event: fn(&Behavior)§on_loaded: fn(&Behavior)§on_unloaded: fn(&Behavior)§on_initialized_event: fn(&Behavior)§on_data_context_changed_event: fn(&Behavior)§on_resources_changed_event: fn(&Behavior)§on_actual_theme_variant_changed_event: fn(&Behavior)Trait Implementations§
Source§impl Clone for BehaviorVTable
impl Clone for BehaviorVTable
impl Copy for BehaviorVTable
Auto Trait Implementations§
impl Freeze for BehaviorVTable
impl RefUnwindSafe for BehaviorVTable
impl Send for BehaviorVTable
impl Sync for BehaviorVTable
impl Unpin for BehaviorVTable
impl UnsafeUnpin for BehaviorVTable
impl UnwindSafe for BehaviorVTable
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