WhenAnyPaths
trait · ferroui-reactiveui · v0.5.0
trait WhenAnyPaths<T: 'static>: 'static
The property paths of one observation of an object of type T: one PropertyPath, or a
tuple of 2 to 16 of them.
Upstream overloads WhenAnyValue, WhenAny, WhenChanged and WhenChanging by the number of
expressions (1 to 16); here the paths are one argument, and this trait gives the type of their
values (V, or the tuple (V1, ..., Vn) for upstream's PropertyValues<T1, ..., Tn>) and of
their changes.
Members
Values
type Values: Clone + 'static
The values of the paths: V for one path, (V1, ..., Vn) for a tuple.
Changes
type Changes: Clone + 'static
The changes of the paths: ObservedChange<Rc<T>, V> for one path, a tuple of them for a
tuple.
observe_values
fn observe_values(self: Self, source: &Rc<T>, before_change: bool) -> Rc<dyn IObservable<<Self as >::Values>>
The latest values of the paths on source, after each change or before it.
observe_changes
fn observe_changes(self: Self, source: &Rc<T>, before_change: bool) -> Rc<dyn IObservable<<Self as >::Changes>>
The latest changes of the paths on source, after each change or before it.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.