ListSourceListCombineEx
trait · ferroui-dynamic-data · v0.5.0
trait ListSourceListCombineEx
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.
Members
Item
type Item: Clone + PartialEq + 'static
The type of the items.
and_list
fn and_list(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
where <Self as >::Item: Eq + Hash
The items that are in every source of the list; none while the list is empty
(And(IObservableList<..>)).
or
fn or(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
where <Self as >::Item: Eq + Hash
The items that are in any source of the list (Or(IObservableList<..>)).
xor
fn xor(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
where <Self as >::Item: Eq + Hash
The items that are in exactly one source of the list (Xor(IObservableList<..>)).
except
fn except(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
where <Self as >::Item: Eq + Hash
The items of the first source of the list that are in none of the others
(Except(IObservableList<..>)).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.