Struct vec_map::OccupiedEntry
source · pub struct OccupiedEntry<'a, V: 'a> {
pub(crate) map: &'a mut VecMap<V>,
pub(crate) index: usize,
}
Expand description
An occupied Entry.
Fields§
§map: &'a mut VecMap<V>
§index: usize
Implementations§
source§impl<'a, V> OccupiedEntry<'a, V>
impl<'a, V> OccupiedEntry<'a, V>
Auto Trait Implementations§
impl<'a, V> Freeze for OccupiedEntry<'a, V>
impl<'a, V> RefUnwindSafe for OccupiedEntry<'a, V>where
V: RefUnwindSafe,
impl<'a, V> Send for OccupiedEntry<'a, V>where
V: Send,
impl<'a, V> Sync for OccupiedEntry<'a, V>where
V: Sync,
impl<'a, V> Unpin for OccupiedEntry<'a, V>
impl<'a, V> !UnwindSafe for OccupiedEntry<'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