[][src]Struct legion::EntityAllocator

pub struct EntityAllocator { /* fields omitted */ }

Manages the allocation and deletion of Entity IDs within a world.

Methods

impl EntityAllocator[src]

pub fn is_alive(&self, entity: &Entity) -> bool[src]

Determines if the given Entity is considered alive.

pub fn create_entity(&mut self) -> Entity[src]

Allocates a new unused Entity ID.

Trait Implementations

impl Drop for EntityAllocator[src]

impl Debug for EntityAllocator[src]

Auto Trait Implementations

Blanket Implementations

impl<T> EntityData for T where
    T: 'static + Send + Sync + Debug
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> Erased for T