Struct linear_map::VacantEntry [] [src]

pub struct VacantEntry<'a, K: 'a, V: 'a> { /* fields omitted */ }

A view into a single vacant location in a LinearMap.

See LinearMap::entry for details.

Methods

impl<'a, K, V> VacantEntry<'a, K, V>
[src]

Inserts the entry into the map with the given value.

Returns a mutable reference to the entry's value with the same lifetime as the map.