[−][src]Struct minimum::entity::EntitySet
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]
&mut self,
entity_handle: &EntityHandle
) -> Option<&mut Entity>
pub fn flush_free(&mut self, world: &World)
[src]
Auto Trait Implementations
impl Unpin for EntitySet
impl Sync for EntitySet
impl Send for EntitySet
impl RefUnwindSafe for EntitySet
impl UnwindSafe for EntitySet
Blanket Implementations
impl<T> Resource for T where
T: Any + Send + Sync,
[src]
T: Any + Send + Sync,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,