[][src]Struct minimum::entity::EntitySet

pub struct EntitySet { /* fields omitted */ }

Methods

impl EntitySet[src]

pub fn new() -> Self[src]

pub fn register_component_type<T: Component>(&mut self, world: &mut World)[src]

pub fn allocate(&mut self) -> EntityHandle[src]

pub fn enqueue_free(&mut self, entity_handle: &EntityHandle)[src]

pub fn entity_count(&self) -> usize[src]

pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option<EntityRef>[src]

pub fn get_entity(&self, entity_handle: &EntityHandle) -> Option<&Entity>[src]

pub fn get_entity_mut(
    &mut self,
    entity_handle: &EntityHandle
) -> Option<&mut Entity>
[src]

pub fn flush_free(&mut self, world: &World)[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Erased for T