Struct specs::storage::VacantEntry
source · [−]pub struct VacantEntry<'a, 'b: 'a, T: 'a, D: 'a> { /* private fields */ }
Expand description
An entry to a storage which does not have a component associated to the entity.
Implementations
sourceimpl<'a, 'b, T, D> VacantEntry<'a, 'b, T, D> where
T: Component,
D: DerefMut<Target = MaskedStorage<T>>,
impl<'a, 'b, T, D> VacantEntry<'a, 'b, T, D> where
T: Component,
D: DerefMut<Target = MaskedStorage<T>>,
Auto Trait Implementations
impl<'a, 'b, T, D> !RefUnwindSafe for VacantEntry<'a, 'b, T, D>
impl<'a, 'b, T, D> Send for VacantEntry<'a, 'b, T, D> where
D: Send,
T: Send,
impl<'a, 'b, T, D> Sync for VacantEntry<'a, 'b, T, D> where
D: Sync,
T: Sync,
impl<'a, 'b, T, D> Unpin for VacantEntry<'a, 'b, T, D> where
'b: 'a,
impl<'a, 'b, T, D> !UnwindSafe for VacantEntry<'a, 'b, T, D>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more