FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    Item

    type Item: Clone + 'static
    

    The type of the items.

    Source

    Key

    type Key: Eq + Hash + Clone + 'static
    

    The type of the keys.

    Source

    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<..>)).

    Source

    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<..>)).

    Source

    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<..>)).

    Source

    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<..>)).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.