pub enum Entry<'a, K, S: ?Sized = DefaultStorage>where
K: TypeMapKey,{
Occupied(OccupiedEntry<'a, K, S>),
Vacant(VacantEntry<'a, K, S>),
}
Expand description
Variants§
Occupied(OccupiedEntry<'a, K, S>)
Vacant(VacantEntry<'a, K, S>)
Implementations§
Auto Trait Implementations§
impl<'a, K, S> Freeze for Entry<'a, K, S>where
S: ?Sized,
impl<'a, K, S> RefUnwindSafe for Entry<'a, K, S>
impl<'a, K, S> Send for Entry<'a, K, S>
impl<'a, K, S> Sync for Entry<'a, K, S>
impl<'a, K, S> Unpin for Entry<'a, K, S>where
S: ?Sized,
impl<'a, K, S = dyn Any + Sync + Send> !UnwindSafe for Entry<'a, K, S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more