pub fn contains(&self, entity: Entity) -> bool {
        if self.access.is_entity_overridden(entity) {
            let mut override_map = self.override_data.borrow_mut();
            let data = override_map
                .get_mut(&entity)
                .expect("override data not present despite entity being marked as overriden");
            !matches!(data, EntityOverride::Deleted)
        } else {
            self.world.contains(entity)
        }
    }
/// Whether `entity` still exists
Whether `entity` still exists
Whether ` entity ` still exists
pub fn contains(&self, entity: Entity) -> bool {
        if self.access.is_entity_overridden(entity) {
            let mut override_map = self.override_data.borrow_mut();
            let data = override_map
                .get_mut(&entity)
                .expect("override data not present despite entity being marked as overriden");
            !matches!(data, EntityOverride::Deleted)
        } else {
            self.world.contains(entity)
        }
    }
pub fn contains ( & self , entity : Entity ) -> bool { if self . access . is_entity_overridden ( entity ) { let mut override_map = self . override_data . borrow_mut ( ) ; let data = override_map . get_mut ( & entity ) . expect ( " " ) ; ! matches ! ( data EntityOverride Deleted ) } else { self . world . contains ( entity ) } }
Whether `entity` still exists
Whether ` entity ` still exists
&self
entity
Entity
&self
entity
Entity