pub trait EnumerableEx<T: Clone + 'static>: IntoIterator<Item = T> + Sized {
// Provided methods
fn as_observable_change_set(self) -> Rc<dyn IObservable<ChangeSet<T>>> { ... }
fn as_observable_change_set_with(
self,
completable: bool,
) -> Rc<dyn IObservable<ChangeSet<T>>> { ... }
fn as_observable_change_set_cache<K: Eq + Hash + Clone + 'static>(
self,
key_selector: impl Fn(&T) -> K + 'static,
) -> Rc<dyn IObservable<ChangeSet<T, K>>> { ... }
fn as_observable_change_set_cache_with<K: Eq + Hash + Clone + 'static>(
self,
key_selector: impl Fn(&T) -> K + 'static,
completable: bool,
) -> Rc<dyn IObservable<ChangeSet<T, K>>> { ... }
}Expand description
The collection as a sequence of one change set of additions (EnumerableEx), implemented for
every collection.
Provided Methods§
Sourcefn as_observable_change_set(self) -> Rc<dyn IObservable<ChangeSet<T>>>
fn as_observable_change_set(self) -> Rc<dyn IObservable<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)).
Sourcefn as_observable_change_set_with(
self,
completable: bool,
) -> Rc<dyn IObservable<ChangeSet<T>>>
fn as_observable_change_set_with( self, completable: bool, ) -> Rc<dyn IObservable<ChangeSet<T>>>
as_observable_change_set that ends after the change set
when completable is true.
Sourcefn as_observable_change_set_cache<K: Eq + Hash + Clone + 'static>(
self,
key_selector: impl Fn(&T) -> K + 'static,
) -> Rc<dyn IObservable<ChangeSet<T, K>>>
fn as_observable_change_set_cache<K: Eq + Hash + Clone + 'static>( self, key_selector: impl Fn(&T) -> K + 'static, ) -> Rc<dyn IObservable<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)).
Sourcefn as_observable_change_set_cache_with<K: Eq + Hash + Clone + 'static>(
self,
key_selector: impl Fn(&T) -> K + 'static,
completable: bool,
) -> Rc<dyn IObservable<ChangeSet<T, K>>>
fn as_observable_change_set_cache_with<K: Eq + Hash + Clone + 'static>( self, key_selector: impl Fn(&T) -> K + 'static, completable: bool, ) -> Rc<dyn IObservable<ChangeSet<T, K>>>
as_observable_change_set_cache that ends after the
change set when completable is true.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".