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