pub struct VacantEntry<'a, K, V, const N: usize> { }
Expand description
A view into an empty slot in the underlying map
Get the key associated with this entry
Consumes this entry to yield to key associated with it
Inserts this entry into to underlying map, yields a mutable reference to the inserted value.
If the map is at capacity the value is returned instead.
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.