Struct idmap::VacantEntry[][src]

pub struct VacantEntry<'a, K: IntegerId + 'a, V: 'a, T: EntryTable<K, V> + 'a> { /* fields omitted */ }
Expand description

An entry in an IdMap where the value is not present

Implementations

Insert a value into this vacant slot, giving a reference to the new value

Call the specified closure to compute a value to insert, then proceed by calling VacantEntry::insert

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.