Struct polymap::polymap::VacantEntry
[−]
[src]
pub struct VacantEntry<'a, K: 'a, V: Any> { /* fields omitted */ }
A view into a vacant entry in a PolyMap
.
Methods
impl<'a, K: 'a, V: Any> VacantEntry<'a, K, V>
[src]
fn key(&self) -> &K
Returns a reference to the entry's key.
fn into_key(self) -> K
Consumes the entry and returns the owned key value.
fn insert(self, value: V) -> &'a mut V
Consumes the entry, inserting a value and returning a mutable reference.