#[repr(C)]pub struct FerroObjectVTable {
pub type_info: &'static TypeInfo,
pub constructed: fn(&FerroObject),
pub on_property_changed_core: fn(&FerroObject, &FerroPropertyChangedEventArgs<'_>),
pub on_property_changed: fn(&FerroObject, &FerroPropertyChangedEventArgs<'_>),
pub update_data_validation: fn(&FerroObject, &'static FerroProperty, BindingValueType, Option<&BindingError>),
}Expand description
The virtual table of FerroObject.
Fields§
§type_info: &'static TypeInfo§constructed: fn(&FerroObject)§on_property_changed_core: fn(&FerroObject, &FerroPropertyChangedEventArgs<'_>)§on_property_changed: fn(&FerroObject, &FerroPropertyChangedEventArgs<'_>)§update_data_validation: fn(&FerroObject, &'static FerroProperty, BindingValueType, Option<&BindingError>)Trait Implementations§
Source§impl Clone for FerroObjectVTable
impl Clone for FerroObjectVTable
impl Copy for FerroObjectVTable
Auto Trait Implementations§
impl Freeze for FerroObjectVTable
impl RefUnwindSafe for FerroObjectVTable
impl Send for FerroObjectVTable
impl Sync for FerroObjectVTable
impl Unpin for FerroObjectVTable
impl UnsafeUnpin for FerroObjectVTable
impl UnwindSafe for FerroObjectVTable
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