Enum dashmap::mapref::entry::Entry [−][src]
pub enum Entry<'a, K, V, S = RandomState> {
Occupied(OccupiedEntry<'a, K, V, S>),
Vacant(VacantEntry<'a, K, V, S>),
}
Variants
Occupied(OccupiedEntry<'a, K, V, S>)
Tuple Fields
0: OccupiedEntry<'a, K, V, S>
Vacant(VacantEntry<'a, K, V, S>)
Tuple Fields
0: VacantEntry<'a, K, V, S>
Implementations
Apply a function to the stored value if it exists.
Return a mutable reference to the element if it exists, otherwise insert the default and return a mutable reference to that.
Return a mutable reference to the element if it exists, otherwise a provided value and return a mutable reference to that.
Return a mutable reference to the element if it exists, otherwise insert the result of a provided function and return a mutable reference to that.