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