pub struct WorldChanges { /* private fields */ }
Implementations§
Source§impl WorldChanges
impl WorldChanges
pub fn clear(&mut self)
pub fn has_entity(&self, entity: Entity) -> bool
pub fn has_entity_component<T>(&self, entity: Entity) -> bool
pub fn has_entity_component_raw( &self, entity: Entity, type_hash: TypeHash, ) -> bool
pub fn has_component<T>(&self) -> bool
pub fn has_component_raw(&self, type_hash: TypeHash) -> bool
pub fn iter(&self) -> impl Iterator<Item = (Entity, &[TypeHash])>
pub fn iter_of<T>(&self) -> impl Iterator<Item = Entity> + '_
pub fn iter_of_raw( &self, type_hash: TypeHash, ) -> impl Iterator<Item = Entity> + '_
Trait Implementations§
Source§impl Clone for WorldChanges
impl Clone for WorldChanges
Source§fn clone(&self) -> WorldChanges
fn clone(&self) -> WorldChanges
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for WorldChanges
impl Default for WorldChanges
Source§fn default() -> WorldChanges
fn default() -> WorldChanges
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorldChanges
impl RefUnwindSafe for WorldChanges
impl Send for WorldChanges
impl Sync for WorldChanges
impl Unpin for WorldChanges
impl UnwindSafe for WorldChanges
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