pub trait BTreeMapExt<K, V> {
    // Required methods
    fn first_key(&self) -> Option<&K>;
    fn last_key(&self) -> Option<&K>;
    fn pop_first_value(&mut self) -> Option<V>;
    fn pop_last_value(&mut self) -> Option<V>;
}

Required Methods§

source

fn first_key(&self) -> Option<&K>

source

fn last_key(&self) -> Option<&K>

source

fn pop_first_value(&mut self) -> Option<V>

source

fn pop_last_value(&mut self) -> Option<V>

Implementations on Foreign Types§

source§

impl<K: Ord + Clone, V> BTreeMapExt<K, V> for BTreeMap<K, V>

source§

fn first_key(&self) -> Option<&K>

source§

fn last_key(&self) -> Option<&K>

source§

fn pop_first_value(&mut self) -> Option<V>

source§

fn pop_last_value(&mut self) -> Option<V>

Implementors§