pub struct EntityChanges {
pub skip_clearing: bool,
/* private fields */
}
Fields§
§skip_clearing: bool
Implementations§
Source§impl EntityChanges
impl EntityChanges
pub fn has_changed(&self) -> bool
pub fn entities(&self) -> impl Iterator<Item = Entity> + '_
pub fn spawned(&self) -> impl Iterator<Item = Entity> + '_
pub fn has_spawned(&self, entity: Entity) -> bool
pub fn despawned(&self) -> impl Iterator<Item = Entity> + '_
pub fn has_despawned(&self, entity: Entity) -> bool
pub fn added_component_iter<T: 'static>( &self, ) -> impl Iterator<Item = Entity> + '_
pub fn added_components( &self, entity: Entity, ) -> Option<impl Iterator<Item = TypeId> + '_>
pub fn has_added_component<T: 'static>(&self, entity: Entity) -> bool
pub fn removed_component_iter<T: 'static>( &self, ) -> impl Iterator<Item = Entity> + '_
pub fn removed_components( &self, entity: Entity, ) -> Option<impl Iterator<Item = TypeId> + '_>
pub fn has_removed_component<T: 'static>(&self, entity: Entity) -> bool
Trait Implementations§
Source§impl Debug for EntityChanges
impl Debug for EntityChanges
Source§impl Default for EntityChanges
impl Default for EntityChanges
Source§fn default() -> EntityChanges
fn default() -> EntityChanges
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntityChanges
impl RefUnwindSafe for EntityChanges
impl Send for EntityChanges
impl Sync for EntityChanges
impl Unpin for EntityChanges
impl UnwindSafe for EntityChanges
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