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§
source§impl<'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>
impl<'a, 'b, T, D> !UnwindSafe for VacantEntry<'a, 'b, T, D>
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