naia_shared/world/entity/in_scope_entities.rs
1use std::hash::Hash;
2
3/// Query interface for determining whether a given entity is currently within a receiver's scope.
4pub trait InScopeEntities<E: Copy + Eq + Hash + Sync + Send> {
5 /// Returns `true` if `entity` is currently tracked as in-scope.
6 fn has_entity(&self, entity: &E) -> bool;
7}