[−][src]Struct slab::VacantEntry
A handle to a vacant slot in the Slab
Methods
impl<'a, T, I: From<usize> + Into<usize>> VacantEntry<'a, T, I>
[src][−]
pub fn insert(self, val: T) -> Entry<'a, T, I>
[src][−]
Insert a value into the entry
pub fn index(&self) -> I
[src][−]
Returns the entry index
Auto Trait Implementations
impl<'a, T, I> RefUnwindSafe for VacantEntry<'a, T, I> where
I: RefUnwindSafe,
T: RefUnwindSafe,
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, I> Send for VacantEntry<'a, T, I> where
T: Send,
T: Send,
impl<'a, T, I> Sync for VacantEntry<'a, T, I> where
I: Sync,
T: Sync,
I: Sync,
T: Sync,
impl<'a, T, I> Unpin for VacantEntry<'a, T, I>
impl<'a, T, I> !UnwindSafe for VacantEntry<'a, T, I>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,