Enum ra_ap_stdx::anymap::Entry
source · pub enum Entry<'a, A: ?Sized + Downcast, V> {
Occupied(OccupiedEntry<'a, A, V>),
Vacant(VacantEntry<'a, A, V>),
}
Expand description
A view into a single location in an Map
, which may be vacant or occupied.
Variants§
Implementations§
Auto Trait Implementations§
impl<'a, A: ?Sized, V> Freeze for Entry<'a, A, V>
impl<'a, A: ?Sized, V> RefUnwindSafe for Entry<'a, A, V>where
A: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, A: ?Sized, V> Send for Entry<'a, A, V>
impl<'a, A: ?Sized, V> Sync for Entry<'a, A, V>
impl<'a, A: ?Sized, V> Unpin for Entry<'a, A, V>where
V: Unpin,
impl<'a, A, V> !UnwindSafe for Entry<'a, A, V>
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