pub trait ListSourceListCombineEx {
type Item: Clone + PartialEq + 'static;
// Required methods
fn and_list(&self) -> Rc<dyn IObservable<ChangeSet<Self::Item>>>
where Self::Item: Eq + Hash;
fn or(&self) -> Rc<dyn IObservable<ChangeSet<Self::Item>>>
where Self::Item: Eq + Hash;
fn xor(&self) -> Rc<dyn IObservable<ChangeSet<Self::Item>>>
where Self::Item: Eq + Hash;
fn except(&self) -> Rc<dyn IObservable<ChangeSet<Self::Item>>>
where Self::Item: Eq + Hash;
}Expand description
And, Or, Xor and Except of an observable list of sources (And(this IObservableList<IObservable<IChangeSet<T>>>), And(this IObservableList<IObservableList<T>>),
And(this IObservableList<ISourceList<T>>), ..): the result follows the sources as they are
added to the list and removed from it.
Required Associated Types§
Required Methods§
Sourcefn and_list(&self) -> Rc<dyn IObservable<ChangeSet<Self::Item>>>
fn and_list(&self) -> Rc<dyn IObservable<ChangeSet<Self::Item>>>
The items that are in every source of the list; none while the list is empty
(And(IObservableList<..>)).
Sourcefn or(&self) -> Rc<dyn IObservable<ChangeSet<Self::Item>>>
fn or(&self) -> Rc<dyn IObservable<ChangeSet<Self::Item>>>
The items that are in any source of the list (Or(IObservableList<..>)).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".