pub trait IKeyValueCollection<T, K> {
// Required methods
fn comparer(&self) -> &KeyValueComparer<T, K>;
fn optimisations(&self) -> SortOptimisations;
fn sort_reason(&self) -> SortReason;
fn items(&self) -> &[(K, T)];
}Expand description
The sorted pairs of a key and an item of a sorted change set (IKeyValueCollection<TObject, TKey>, a read-only list of KeyValuePair<TKey, TObject>).
Required Methods§
Sourcefn comparer(&self) -> &KeyValueComparer<T, K>
fn comparer(&self) -> &KeyValueComparer<T, K>
The comparer of the pairs (Comparer).
Sourcefn optimisations(&self) -> SortOptimisations
fn optimisations(&self) -> SortOptimisations
The optimisations of the sort (Optimisations).
Sourcefn sort_reason(&self) -> SortReason
fn sort_reason(&self) -> SortReason
The reason of the sort (SortReason).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".