pub struct OccupiedEntry<'a, P, T> { /* private fields */ }
Expand description
A mutable view into an occupied entry. An occupied entry represents a node that is already
present on the tree.
Gets a reference to the key in the entry.
Gets a reference to the value in the entry.
Gets a mutable reference to the value in the entry.
Insert a new value into the entry, returning the old value.
Remove the current value and return it.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.