Struct collections::vec_map::VacantEntry [] [src]

pub struct VacantEntry<'a, V: 'a> {
    // some fields omitted
}
Deprecated since 1.3.0

: VecMap moved to crates.io as vec_map

A vacant Entry.

Methods

impl<'a, V> VacantEntry<'a, V>

fn insert(self, value: V) -> &'a mut V

Deprecated since 1.3.0

: VecMap moved to crates.io as vec_map

Sets the value of the entry with the VacantEntry's key, and returns a mutable reference to it.