Struct polymap::typemap::OccupiedEntry [] [src]

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

A view into an occupied entry in a TypeMap.

Methods

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

Returns a reference to the entry value.

Returns a mutable reference to the entry value.

Consumes the entry and returns a mutable reference tied to the lifetime of the parent container.

Inserts a value into the entry and returns the old value.

Removes the entry and returns the value.

Trait Implementations

impl<'a, V: Any + Debug> Debug for OccupiedEntry<'a, V>
[src]

Formats the value using the given formatter.