pub struct OccupiedEntry<'a, K: 'a + WeakKey, V: 'a>(_);
Expand description
An occupied entry, which can be removed or viewed.
Gets a reference to the key held by the entry.
Takes ownership of the key and value from the map.
Gets a reference to the value in the entry.
Gets a mutable reference to the value in the entry.
Turns the entry into a mutable reference to the value borrowed from the map.
Replaces the value in the entry with the given value.
Removes the entry, returning the value.
Formats the value using the given formatter. Read more
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.