pub struct DummyBTreeMapRawVacantEntry<'c, K, V> { /* private fields */ }
Expand description
Raw vacant entry of a BTreeMap.
This is acquired from the get_raw_entry
method, and can insert into
the BTreeMap when provided a (K, V)
tuple where K sorts the same as the query used
to aquire this entry. Inserting with a (K, V) tuple gives a DummyBTreeMapOccupiedEntry
Trait Implementations
sourceimpl<'c, K, V> NextOccupiedFromVacant<'c> for DummyBTreeMapRawVacantEntry<'c, K, V> where
K: Ord,
impl<'c, K, V> NextOccupiedFromVacant<'c> for DummyBTreeMapRawVacantEntry<'c, K, V> where
K: Ord,
sourcefn get_next_occupied(self) -> Option<Self::Occupied>
fn get_next_occupied(self) -> Option<Self::Occupied>
get the next occupied entry after this one.
sourceimpl<'c, K, V> PrevOccupiedFromVacant<'c> for DummyBTreeMapRawVacantEntry<'c, K, V> where
K: Ord,
impl<'c, K, V> PrevOccupiedFromVacant<'c> for DummyBTreeMapRawVacantEntry<'c, K, V> where
K: Ord,
sourcefn get_prev_occupied(self) -> Option<Self::Occupied>
fn get_prev_occupied(self) -> Option<Self::Occupied>
get the previous occupied entry after this one.
sourceimpl<'c, K, V> VacantEntry<'c> for DummyBTreeMapRawVacantEntry<'c, K, V>
impl<'c, K, V> VacantEntry<'c> for DummyBTreeMapRawVacantEntry<'c, K, V>
Auto Trait Implementations
impl<'c, K, V> RefUnwindSafe for DummyBTreeMapRawVacantEntry<'c, K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'c, K, V> Send for DummyBTreeMapRawVacantEntry<'c, K, V> where
K: Send,
V: Send,
impl<'c, K, V> Sync for DummyBTreeMapRawVacantEntry<'c, K, V> where
K: Sync,
V: Sync,
impl<'c, K, V> Unpin for DummyBTreeMapRawVacantEntry<'c, K, V>
impl<'c, K, V> !UnwindSafe for DummyBTreeMapRawVacantEntry<'c, K, V>
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