Struct anymap::OccupiedEntry
source · [−]pub struct OccupiedEntry<'a, A: ?Sized + UncheckedAnyExt, V: 'a> { /* private fields */ }
Expand description
A view into a single occupied location in an Map
.
Implementations
Converts the OccupiedEntry into a mutable reference to the value in the entry with a lifetime bound to the collection itself
Sets the value of the entry, and returns the entry’s old value