Struct shard_ecs::entity_registry::entry::EntityEntry [−][src]
#[repr(C, align(2))]pub struct EntityEntry { /* fields omitted */ }
Expand description
Represents entity reference to the archetype + index + Version. MEMORY_LAYOUTS: Valid: |version: u8|idx_in_arch: u24|arch_idx: u16| Invalid: |version: u8|next_fr_slt: u24|INV_ARCH: u16|
Implementations
Sets the version of the entity.
Sets the entry to invalid.
Sets the archetype index.
Returns the archetype index of the entry.
Returns the index in archetype of the entry.
Sets the index in archetype for the entry.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntityEntry
impl Send for EntityEntry
impl Sync for EntityEntry
impl Unpin for EntityEntry
impl UnwindSafe for EntityEntry
Blanket Implementations
Mutably borrows from an owned value. Read more