Struct in_place::dummy_collections::b_tree_map::DummyBTreeMap
source · [−]pub struct DummyBTreeMap<K, V> { /* private fields */ }
Expand description
stand in for std::collections::BTreeMap
Trait Implementations
sourceimpl<K, V, Q> GetEntryByKey<K, V, Q> for DummyBTreeMap<K, V> where
K: Borrow<Q> + Clone + Ord,
Q: Ord,
impl<K, V, Q> GetEntryByKey<K, V, Q> for DummyBTreeMap<K, V> where
K: Borrow<Q> + Clone + Ord,
Q: Ord,
sourceimpl<K, V> GetEntryFromKey<K, V> for DummyBTreeMap<K, V> where
K: Ord,
impl<K, V> GetEntryFromKey<K, V> for DummyBTreeMap<K, V> where
K: Ord,
type Occupied<'c>
where
Self: 'c = DummyBTreeMapOccupiedEntry<'c, K, V>
type Vacant<'c>
where
Self: 'c = DummyBTreeMapVacantEntry<'c, K, V>
fn get_entry_with_key<'c>(
&'c mut self,
key: K
) -> EntryWithSearchKey<Self::Occupied<'c>, Self::Vacant<'c>, K>
fn get_entry_from_key<'c>(
&'c mut self,
key: K
) -> Entry<Self::Occupied<'c>, Self::Vacant<'c>>
fn insert_into_entry<'c>(
&'c mut self,
key: K,
value: V
) -> (Entry<Self::Occupied<'c>, Self::Vacant<'c>>, Option<V>)
fn occupy<'c>(&'c mut self, key: K, value: V) -> (Self::Occupied<'c>, Option<V>)
sourceimpl<K, V> GetFirstEntry<V> for DummyBTreeMap<K, V> where
K: Ord,
impl<K, V> GetFirstEntry<V> for DummyBTreeMap<K, V> where
K: Ord,
type Occupied<'c>
where
Self: 'c = DummyBTreeMapOccupiedEntry<'c, K, V>
fn get_first_occupied<'c>(&'c mut self) -> Option<Self::Occupied<'c>>
sourceimpl<K, V> GetLastEntry<V> for DummyBTreeMap<K, V> where
K: Ord,
impl<K, V> GetLastEntry<V> for DummyBTreeMap<K, V> where
K: Ord,
type Occupied<'c>
where
Self: 'c = DummyBTreeMapOccupiedEntry<'c, K, V>
fn get_last_occupied<'c>(&'c mut self) -> Option<Self::Occupied<'c>>
Auto Trait Implementations
impl<K, V> RefUnwindSafe for DummyBTreeMap<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for DummyBTreeMap<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for DummyBTreeMap<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for DummyBTreeMap<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for DummyBTreeMap<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more