pub struct OccupiedEntry<'a, K: IntegerId + 'a, V: 'a, T: 'a + EntryTable<K, V>> { /* fields omitted */ }
Expand description
An entry in an IdMap where the value is present
The key associated with the entry
Consume the entry, giving a mutable reference to the value
which is bound to the (mutable) lifetime of the map.
Get a reference to the value
Borrow a mutable reference to the value
Replace the value in the map, returning its old value
Remove the value from the map, consuming this entry
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.