Struct in_place::dummy_collections::hash_map::DummyHashMap
source · [−]pub struct DummyHashMap<K, V> { /* private fields */ }
Expand description
stand in for std::collections::HashMap
Trait Implementations
sourceimpl<K, V, Q> GetEntryByKey<K, V, Q> for DummyHashMap<K, V> where
K: Borrow<Q> + Clone + Eq + Hash,
Q: Eq,
impl<K, V, Q> GetEntryByKey<K, V, Q> for DummyHashMap<K, V> where
K: Borrow<Q> + Clone + Eq + Hash,
Q: Eq,
sourceimpl<K, V> GetEntryFromKey<K, V> for DummyHashMap<K, V> where
K: Eq + Hash,
impl<K, V> GetEntryFromKey<K, V> for DummyHashMap<K, V> where
K: Eq + Hash,
type Occupied<'c>
where
Self: 'c = DummyHashMapOccupiedEntry<'c, K, V>
type Vacant<'c>
where
Self: 'c = DummyHashMapVacantEntry<'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>)
Auto Trait Implementations
impl<K, V> RefUnwindSafe for DummyHashMap<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for DummyHashMap<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for DummyHashMap<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for DummyHashMap<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for DummyHashMap<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