Struct entity_data::archetype::entities::ArchetypeEntities
source · pub struct ArchetypeEntities { /* private fields */ }
Implementations§
source§impl<'a> ArchetypeEntities
impl<'a> ArchetypeEntities
pub const MAX_ENTITIES: usize = 4_294_967_294usize
sourcepub fn contains(&self, entity_id: ArchEntityId) -> bool
pub fn contains(&self, entity_id: ArchEntityId) -> bool
Returns true
if the storage contains the specified entity.
sourcepub fn iter(&'a self) -> EntitiesIter<'_> ⓘ
pub fn iter(&'a self) -> EntitiesIter<'_> ⓘ
Returns an iterator over all entities of the archetype.
Trait Implementations§
source§impl Default for ArchetypeEntities
impl Default for ArchetypeEntities
source§fn default() -> ArchetypeEntities
fn default() -> ArchetypeEntities
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ArchetypeEntities
impl Send for ArchetypeEntities
impl Sync for ArchetypeEntities
impl Unpin for ArchetypeEntities
impl UnwindSafe for ArchetypeEntities
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