Trait in_place::entry::PrevOccupiedFromOccupied
source · [−]pub trait PrevOccupiedFromOccupied<'c>: KeyedOccupiedEntry<'c> {
fn get_prev_occupied(self) -> Option<Self>;
}
Expand description
A trait to extend KeyedOccupiedEntry, allowing the user to get the previous occupied entry, according to the ordering on the keys
Required methods
fn get_prev_occupied(self) -> Option<Self>
fn get_prev_occupied(self) -> Option<Self>
get the previous occupied entry after this one.