Struct typemap::VacantEntry [] [src]

pub struct VacantEntry<'a, K, A: ?Sized + UnsafeAnyExt + 'a = UnsafeAny> {
    // some fields omitted
}

A view onto an unoccupied entry in a TypeMap.

Methods

impl<'a, K: Key, A: ?Sized + UnsafeAnyExt> VacantEntry<'a, K, A>
[src]

Set the entry's value and return a mutable reference to it.