pub trait ListChangeSetSourcesEx<T> {
// Required methods
fn merge_change_sets(&self) -> Rc<dyn IObservable<ChangeSet<T>>>;
fn merge_change_sets_with(
&self,
equality_comparer: Option<Rc<dyn Fn(&T, &T) -> bool>>,
scheduler: Option<Rc<dyn IScheduler>>,
completable: bool,
) -> Rc<dyn IObservable<ChangeSet<T>>>;
}Expand description
MergeChangeSets of an enumerable of sequences of change sets of lists
(MergeChangeSets(this IEnumerable<IObservable<IChangeSet<TObject>>>, ..)): the sequences are
enumerated when the merge is subscribed, and the merge completes after them unless
completable is false.
Required Methods§
Sourcefn merge_change_sets(&self) -> Rc<dyn IObservable<ChangeSet<T>>>
fn merge_change_sets(&self) -> Rc<dyn IObservable<ChangeSet<T>>>
The change sets of the sequences, merged (MergeChangeSets()).
Sourcefn merge_change_sets_with(
&self,
equality_comparer: Option<Rc<dyn Fn(&T, &T) -> bool>>,
scheduler: Option<Rc<dyn IScheduler>>,
completable: bool,
) -> Rc<dyn IObservable<ChangeSet<T>>>
fn merge_change_sets_with( &self, equality_comparer: Option<Rc<dyn Fn(&T, &T) -> bool>>, scheduler: Option<Rc<dyn IScheduler>>, completable: bool, ) -> Rc<dyn IObservable<ChangeSet<T>>>
With every argument: the equality of the items (PartialEq when None), the scheduler that
enumerates the sequences, and whether the merge completes after them
(MergeChangeSets(IEqualityComparer<TObject>?, IScheduler?, bool)).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".