FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EnumerableEx

    trait · ferroui-dynamic-data · v0.5.0

    trait EnumerableEx<T: Clone + 'static>: IntoIterator<Item = T> + Sized
    

    The collection as a sequence of one change set of additions (EnumerableEx), implemented for every collection.

    View source

    Members

    as_observable_change_set

    fn as_observable_change_set(self: Self) -> Rc<dyn IObservable<crate::list::ChangeSet<T>>>
    

    The items as one change set of additions to a list, at each subscription; the sequence does not end (AsObservableChangeSet<TObject>(IEnumerable<TObject>, bool completable = false)).

    Source

    as_observable_change_set_with

    fn as_observable_change_set_with(self: Self, completable: bool) -> Rc<dyn IObservable<crate::list::ChangeSet<T>>>
    

    as_observable_change_set that ends after the change set when completable is true.

    Source

    as_observable_change_set_cache

    fn as_observable_change_set_cache<K: Eq + Hash + Clone + 'static>(self: Self, key_selector: impl Fn(&T) -> K + 'static) -> Rc<dyn IObservable<crate::cache::ChangeSet<T, K>>>
    

    The items as one change set of additions to a cache, keyed by key_selector (AsObservableChangeSet<TObject, TKey>(IEnumerable<TObject>, Func<TObject, TKey>, bool completable = false)).

    Source

    as_observable_change_set_cache_with

    fn as_observable_change_set_cache_with<K: Eq + Hash + Clone + 'static>(self: Self, key_selector: impl Fn(&T) -> K + 'static, completable: bool) -> Rc<dyn IObservable<crate::cache::ChangeSet<T, K>>>
    

    as_observable_change_set_cache that ends after the change set when completable is true.

    Source

    Trait implementations

    Availability

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