Enum typemap_rev::Entry
source · 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: ?Sized> RefUnwindSafe for Entry<'a, K, S>where S: RefUnwindSafe, <K as TypeMapKey>::Value: RefUnwindSafe,
impl<'a, K, S: ?Sized> Send for Entry<'a, K, S>where S: Send,
impl<'a, K, S: ?Sized> Sync for Entry<'a, K, S>where S: Sync,
impl<'a, K, S: ?Sized> Unpin for Entry<'a, K, S>
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