[−][src]Struct pui_arena::base::sparse::VacantEntry
An empty slot in a sparse arena
Implementations
impl<T, I, V: Version> VacantEntry<'_, T, I, V>
[src]
pub fn key<K: BuildArenaKey<I, V>>(&self) -> K
[src]
Get the key associated with the VacantEntry
, this key can be used
once this VacantEntry
gets filled
pub fn insert<K: BuildArenaKey<I, V>>(self, value: T) -> K
[src]
Insert an element into the vacant entry
Auto Trait Implementations
impl<'a, T, I, V> Send for VacantEntry<'a, T, I, V> where
I: Send,
T: Send,
V: Send,
[src]
I: Send,
T: Send,
V: Send,
impl<'a, T, I, V> Sync for VacantEntry<'a, T, I, V> where
I: Sync,
T: Sync,
V: Sync,
[src]
I: Sync,
T: Sync,
V: Sync,
impl<'a, T, I, V> Unpin for VacantEntry<'a, T, I, V>
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,