Trait in_place::entry::NextOccupiedFromVacant
source · [−]pub trait NextOccupiedFromVacant<'c>: VacantEntry<'c> where
Self::Occupied: KeyedOccupiedEntry<'c>,
<Self::Occupied as KeyedOccupiedEntry<'c>>::Key: Ord, {
fn get_next_occupied(self) -> Option<Self::Occupied>;
}
Expand description
A trait to extend KeyedOccupiedEntry, allowing the user to get the next occupied entry, according to the ordering on the keys
Required methods
fn get_next_occupied(self) -> Option<Self::Occupied>
fn get_next_occupied(self) -> Option<Self::Occupied>
get the next occupied entry after this one.