Struct ordermap::map::OccupiedEntry

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

Implementations

Return the index of the key-value pair

source

pub fn remove_entry(self) -> (K, V)

Remove and return the key, value pair stored in the map for this entry

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.