Struct typemap::VacantEntry
source · [−]pub struct VacantEntry<'a, K, A: ?Sized + UnsafeAnyExt + 'a = dyn UnsafeAny> { /* private fields */ }
Expand description
A view onto an unoccupied entry in a TypeMap.
Implementations
sourceimpl<'a, K: Key, A: ?Sized + UnsafeAnyExt> VacantEntry<'a, K, A>
impl<'a, K: Key, A: ?Sized + UnsafeAnyExt> VacantEntry<'a, K, A>
Auto Trait Implementations
impl<'a, K, A: ?Sized> RefUnwindSafe for VacantEntry<'a, K, A> where
A: RefUnwindSafe,
K: RefUnwindSafe,
impl<'a, K, A: ?Sized> Send for VacantEntry<'a, K, A> where
A: Send,
K: Send,
impl<'a, K, A: ?Sized> Sync for VacantEntry<'a, K, A> where
A: Sync,
K: Sync,
impl<'a, K, A: ?Sized> Unpin for VacantEntry<'a, K, A> where
K: Unpin,
impl<'a, K, A = dyn UnsafeAny + 'static> !UnwindSafe for VacantEntry<'a, K, A>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more