pub struct BindingPlugins;Expand description
Holds the binding plugins registered for the current thread.
Implementations§
Source§impl BindingPlugins
impl BindingPlugins
Sourcepub fn property_accessors() -> Vec<Rc<dyn IPropertyAccessorPlugin>>
pub fn property_accessors() -> Vec<Rc<dyn IPropertyAccessorPlugin>>
A snapshot of the property accessor plugins.
Sourcepub fn data_validators() -> Vec<Rc<dyn IDataValidationPlugin>>
pub fn data_validators() -> Vec<Rc<dyn IDataValidationPlugin>>
A snapshot of the data validation plugins.
Sourcepub fn stream_handlers() -> Vec<Rc<dyn IStreamPlugin>>
pub fn stream_handlers() -> Vec<Rc<dyn IStreamPlugin>>
A snapshot of the stream plugins.
Sourcepub fn update_property_accessors(
f: impl FnOnce(&mut Vec<Rc<dyn IPropertyAccessorPlugin>>),
)
pub fn update_property_accessors( f: impl FnOnce(&mut Vec<Rc<dyn IPropertyAccessorPlugin>>), )
Changes the property accessor plugins.
Sourcepub fn update_data_validators(
f: impl FnOnce(&mut Vec<Rc<dyn IDataValidationPlugin>>),
)
pub fn update_data_validators( f: impl FnOnce(&mut Vec<Rc<dyn IDataValidationPlugin>>), )
Changes the data validation plugins.
Sourcepub fn update_stream_handlers(f: impl FnOnce(&mut Vec<Rc<dyn IStreamPlugin>>))
pub fn update_stream_handlers(f: impl FnOnce(&mut Vec<Rc<dyn IStreamPlugin>>))
Changes the stream plugins.
Auto Trait Implementations§
impl Freeze for BindingPlugins
impl RefUnwindSafe for BindingPlugins
impl Send for BindingPlugins
impl Sync for BindingPlugins
impl Unpin for BindingPlugins
impl UnsafeUnpin for BindingPlugins
impl UnwindSafe for BindingPlugins
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