DataValidationBase
struct · ferroui-base · v0.5.0
struct DataValidationBase
The state shared by data validators: property accessors returned from an
IDataValidationPlugin that wrap an inner
accessor and convert the values received from it into
BindingNotifications.
Members
base
base: super::PropertyAccessorBase
inner
inner: std::rc::Rc<dyn IPropertyAccessor>
new
fn new(inner: Rc<dyn IPropertyAccessor>) -> Self
subscribe_core
fn subscribe_core(self: &Self, inner_value_changed: AccessorListener)
Begins listening to the inner accessor.
unsubscribe_core
fn unsubscribe_core(self: &Self)
Stops listening to the inner accessor.
inner_value_changed
fn inner_value_changed(self: &Self, value: Option<BoxedValue>)
The default handling of a value from the inner accessor: wraps it in a notification unless it already is one, and publishes it.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.