litemap::store

Trait StoreFromIterable

Source
pub trait StoreFromIterable<K, V>: Store<K, V> {
    // Required method
    fn lm_sort_from_iter<I: IntoIterator<Item = (K, V)>>(iter: I) -> Self;
}

Required Methods§

Source

fn lm_sort_from_iter<I: IntoIterator<Item = (K, V)>>(iter: I) -> Self

Create a sorted store from iter.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<K: Ord, V> StoreFromIterable<K, V> for Vec<(K, V)>

Source§

fn lm_sort_from_iter<I: IntoIterator<Item = (K, V)>>(iter: I) -> Self

Implementors§