Struct qp_trie::OccupiedEntry[][src]

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

An occupied entry in the trie.

Implementations

Get a reference to the key of the entry.

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

Remove the entry from the trie, returning the stored key and value.

Get a reference to the value in the occupied entry.

Get a mutable reference to the value in the occupied entry.

Consume the entry to produce a mutable reference to the associated value.

Replace the associated value, returning the old one.

Remove the entry altogether, returning the previously stored value.

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.