Struct spirt::context::sealed::EntityAlloc
source · pub struct EntityAlloc<E: Entity>(Cell<E>);
Tuple Fields§
§0: Cell<E>
Implementations§
source§impl<E: Entity> EntityAlloc<E>
impl<E: Entity> EntityAlloc<E>
pub(super) fn alloc_chunk(&self) -> E
Trait Implementations§
Auto Trait Implementations§
impl<E> !RefUnwindSafe for EntityAlloc<E>
impl<E> Send for EntityAlloc<E>where
E: Send,
impl<E> !Sync for EntityAlloc<E>
impl<E> Unpin for EntityAlloc<E>where
E: Unpin,
impl<E> UnwindSafe for EntityAlloc<E>where
E: UnwindSafe,
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