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