pub struct SortedMap<K: Ord, V> { /* fields omitted */ }
Methods
fn new() -> Self
fn from_vec(v: Vec<SortableKeyPair<K, V>>) -> Self
fn into_vec(self) -> Vec<SortableKeyPair<K, V>>
fn reserve(&mut self, additional: usize)
fn iter(&self) -> Iter<SortableKeyPair<K, V>>
fn iter_mut(&mut self) -> IterMut<SortableKeyPair<K, V>>
fn into_iter(self) -> IntoIter<SortableKeyPair<K, V>>
fn first(&self) -> Option<&SortableKeyPair<K, V>>
fn last(&self) -> Option<&SortableKeyPair<K, V>>
fn insert(&mut self, x: SortableKeyPair<K, V>) -> bool
fn remove(&mut self, k: &K) -> bool
fn remove_at(&mut self, idx: usize) -> SortableKeyPair<K, V>
fn clear(&mut self)