Skip to main content

ISortedObservableCollectionAdaptor

Trait ISortedObservableCollectionAdaptor 

Source
pub trait ISortedObservableCollectionAdaptor<T: Clone + PartialEq + 'static, K> {
    // Required method
    fn adapt(
        &self,
        changes: &SortedChangeSet<T, K>,
        collection: &dyn IObservableCollection<T>,
    );
}
Expand description

Applies the sorted change sets of a cache to an observable collection (ISortedObservableCollectionAdaptor<TObject, TKey>).

Required Methods§

Source

fn adapt( &self, changes: &SortedChangeSet<T, K>, collection: &dyn IObservableCollection<T>, )

Applies changes to collection (Adapt).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§