Struct typemap_rev::OccupiedEntry
source · pub struct OccupiedEntry<'a, K, S: ?Sized = DefaultStorage>where
K: TypeMapKey,{ /* private fields */ }
Implementations§
source§impl<'a, K, S> OccupiedEntry<'a, K, S>where
K: TypeMapKey,
K::Value: IntoBox<S>,
S: ?Sized + Any + Send + Sync,
impl<'a, K, S> OccupiedEntry<'a, K, S>where K: TypeMapKey, K::Value: IntoBox<S>, S: ?Sized + Any + Send + Sync,
Auto Trait Implementations§
impl<'a, K, S: ?Sized> RefUnwindSafe for OccupiedEntry<'a, K, S>where S: RefUnwindSafe, <K as TypeMapKey>::Value: RefUnwindSafe,
impl<'a, K, S: ?Sized> Send for OccupiedEntry<'a, K, S>where S: Send,
impl<'a, K, S: ?Sized> Sync for OccupiedEntry<'a, K, S>where S: Sync,
impl<'a, K, S: ?Sized> Unpin for OccupiedEntry<'a, K, S>
impl<'a, K, S = dyn Any + Sync + Send> !UnwindSafe for OccupiedEntry<'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