Trait eclectic::map::VacantEntry [] [src]

pub trait VacantEntry {
    type Key;
    type Value;
    type MutValue;
    fn insert(self: Box<Self>, value: Self::Value) -> Self::MutValue;
}

A vacant entry.

Associated Types

The type of the entry's key.

The type of the entry's value.

The type of the mutable reference to the entry's value with the same lifetime as the map.

Required Methods

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.

Implementors