CacheSourcesCombineEx
trait · ferroui-dynamic-data · v0.5.0
trait CacheSourcesCombineEx
And, Or, Xor and Except of a collection of sources (And(this ICollection<IObservable<IChangeSet<TObject, TKey>>>), ..): the sources are subscribed in
order when the result is subscribed.
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 (And(ICollection<..>)).
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 (Or(ICollection<..>)).
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 (Xor(ICollection<..>)).
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 that are in none of the others (Except(ICollection<..>)).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.