pub struct VacantEntry<'a, K: 'a + WeakKey, V: 'a>(_);
Expand description
A vacant entry, which can be inserted in or viewed.
Gets a reference to the key that would be used when inserting a
value through the VacantEntry
.
O(1) time
Returns ownership of the key.
O(1) time
Inserts the key and value into the map and return a mutable
reference to the value.
expected O(1) time; worst-case O(p) time
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.