Struct best::BestMap
[−]
[src]
pub struct BestMap<K: PartialOrd, V> { /* fields omitted */ }
Methods
impl<K: PartialOrd, V> BestMap<K, V>
[src]
fn new() -> Self
[src]
fn insert_gt(&mut self, key: K, value: V)
[src]
fn insert_ge(&mut self, key: K, value: V)
[src]
fn get(&self) -> Option<(&K, &V)>
[src]
fn key(&self) -> Option<&K>
[src]
fn value(&self) -> Option<&V>
[src]
fn into(self) -> Option<(K, V)>
[src]
fn into_key(self) -> Option<K>
[src]
fn into_value(self) -> Option<V>
[src]
fn len(&self) -> usize
[src]
Trait Implementations
impl<K: Debug + PartialOrd, V: Debug> Debug for BestMap<K, V>
[src]
impl<K: Clone + PartialOrd, V: Clone> Clone for BestMap<K, V>
[src]
fn clone(&self) -> BestMap<K, V>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more