Struct multimap::OccupiedEntry [] [src]

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

A view into a single occupied location in a MultiMap.

Methods

impl<'a, K: 'a, V: 'a> OccupiedEntry<'a, K, V>
[src]

Gets a reference to the first item in value in the vector corresponding to entry.

Gets a reference to the values (vector) corresponding to entry.

Gets a mut reference to the first item in value in the vector corresponding to entry.

Gets a mut reference to the values (vector) corresponding to entry.

Converts the OccupiedEntry into a mutable reference to the first item in value in the entry with a lifetime bound to the map itself

Converts the OccupiedEntry into a mutable reference to the values (vector) in the entry with a lifetime bound to the map itself

Inserts a new value onto the vector of the entry.

Extends the existing vector with the specified values.

Takes the values (vector) out of the entry, and returns it