CacheSourceListCombineEx
trait · ferroui-dynamic-data · v0.5.0
trait CacheSourceListCombineEx
And, Or, Xor and Except of an observable list of sources (And(this IObservableList<IObservable<IChangeSet<TObject, TKey>>>), And(this IObservableList<IObservableCache<TObject, TKey>>), And(this IObservableList<ISourceCache<TObject, TKey>>), ..): the result follows the sources as they are
added to the list and removed from it.
Members
Item
type Item: Clone + 'static
The type of the items.
Key
type Key: Eq + Hash + Clone + 'static
The type of the keys.
and_cache
fn and_cache(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item, <Self as >::Key>>>
where <Self as >::Item: Deref
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, <Self as >::Key>>>
where <Self as >::Item: Deref
The items that are in any source of the list (Or(IObservableList<..>)).
xor
fn xor(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item, <Self as >::Key>>>
where <Self as >::Item: Deref
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, <Self as >::Key>>>
where <Self as >::Item: Deref
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.