#[repr(C)]pub struct StyledElementVTable {Show 19 fields
pub base: <Animatable as ObjectType>::VTable,
pub begin_init: fn(&StyledElement),
pub try_end_init: fn(&StyledElement) -> Result<(), InitializationError>,
pub logical_children_collection_changed: fn(&StyledElement, &NotifyCollectionChangedEventArgs<'_, Ref<StyledElement>>),
pub on_attached_to_logical_tree: fn(&StyledElement, &LogicalTreeAttachmentEventArgs),
pub on_detached_from_logical_tree: fn(&StyledElement, &LogicalTreeAttachmentEventArgs),
pub on_data_context_changed: fn(&StyledElement),
pub on_data_context_begin_update: fn(&StyledElement),
pub on_data_context_end_update: fn(&StyledElement),
pub on_initialized: fn(&StyledElement),
pub style_key_override: fn(&StyledElement) -> &'static TypeInfo,
pub on_control_theme_changed: fn(&StyledElement),
pub on_templated_parent_control_theme_changed: fn(&StyledElement),
pub invalidate_styles: fn(&StyledElement, bool),
pub is_logical_root: fn(&StyledElement) -> bool,
pub styling_parent: fn(&StyledElement) -> Option<StyleHostRef>,
pub notify_child_resources_changed: fn(&StyledElement, ResourcesChangedEventArgs),
pub child_index_provider: fn(&StyledElement) -> Option<Rc<dyn IChildIndexProvider>>,
pub is_theme_variant_root: fn(&StyledElement) -> bool,
}Expand description
The virtual table of the class.
Fields§
§base: <Animatable as ObjectType>::VTable§begin_init: fn(&StyledElement)§try_end_init: fn(&StyledElement) -> Result<(), InitializationError>§logical_children_collection_changed: fn(&StyledElement, &NotifyCollectionChangedEventArgs<'_, Ref<StyledElement>>)§on_attached_to_logical_tree: fn(&StyledElement, &LogicalTreeAttachmentEventArgs)§on_detached_from_logical_tree: fn(&StyledElement, &LogicalTreeAttachmentEventArgs)§on_data_context_changed: fn(&StyledElement)§on_data_context_begin_update: fn(&StyledElement)§on_data_context_end_update: fn(&StyledElement)§on_initialized: fn(&StyledElement)§style_key_override: fn(&StyledElement) -> &'static TypeInfo§on_control_theme_changed: fn(&StyledElement)§on_templated_parent_control_theme_changed: fn(&StyledElement)§invalidate_styles: fn(&StyledElement, bool)§is_logical_root: fn(&StyledElement) -> bool§styling_parent: fn(&StyledElement) -> Option<StyleHostRef>§notify_child_resources_changed: fn(&StyledElement, ResourcesChangedEventArgs)§child_index_provider: fn(&StyledElement) -> Option<Rc<dyn IChildIndexProvider>>§is_theme_variant_root: fn(&StyledElement) -> boolTrait Implementations§
Source§impl Clone for StyledElementVTable
impl Clone for StyledElementVTable
impl Copy for StyledElementVTable
Auto Trait Implementations§
impl Freeze for StyledElementVTable
impl RefUnwindSafe for StyledElementVTable
impl Send for StyledElementVTable
impl Sync for StyledElementVTable
impl Unpin for StyledElementVTable
impl UnsafeUnpin for StyledElementVTable
impl UnwindSafe for StyledElementVTable
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