FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CacheChangeSetSourcesEx

    trait · ferroui-dynamic-data · v0.5.0

    trait CacheChangeSetSourcesEx<T, K>
    

    MergeChangeSets of an enumerable of sequences of change sets of caches (MergeChangeSets(this IEnumerable<IObservable<IChangeSet<TObject, TKey>>>, ..)): the sequences are enumerated when the merge is subscribed, and the merge completes after them unless completable is false.

    View source

    Members

    merge_change_sets

    fn merge_change_sets(self: &Self) -> Rc<dyn IObservable<ChangeSet<T, K>>>
    where T: PartialEq
    

    The change sets of the sequences, merged (MergeChangeSets(IScheduler? = null, bool completable = true)).

    Source

    merge_change_sets_with_comparer

    fn merge_change_sets_with_comparer(self: &Self, equality_comparer: impl Fn(&T, &T) -> bool + 'static) -> Rc<dyn IObservable<ChangeSet<T, K>>>
    

    With the equality of the items (MergeChangeSets(IEqualityComparer<TObject>, ..)).

    Source

    merge_change_sets_ordered_by

    fn merge_change_sets_ordered_by(self: &Self, comparer: Rc<dyn Fn(&T, &T) -> Ordering>) -> Rc<dyn IObservable<ChangeSet<T, K>>>
    where T: PartialEq
    

    Where the value of a key is the least by comparer (MergeChangeSets(IComparer<TObject>, ..)).

    Source

    merge_change_sets_with

    fn merge_change_sets_with(self: &Self, equality_comparer: Option<Rc<dyn Fn(&T, &T) -> bool>>, comparer: Option<Rc<dyn Fn(&T, &T) -> Ordering>>, scheduler: Option<Rc<dyn IScheduler>>, completable: bool) -> Rc<dyn IObservable<ChangeSet<T, K>>>
    where T: PartialEq
    

    With every argument: the equality of the items (PartialEq when None), the comparer, the scheduler that enumerates the sequences, and whether the merge completes after them (MergeChangeSets(IEqualityComparer<TObject>, IComparer<TObject>, IScheduler?, bool)).

    Source

    Trait implementations

    Availability

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