pub struct DynamicQueryFilter { /* private fields */ }Implementations§
Source§impl DynamicQueryFilter
impl DynamicQueryFilter
pub fn from_raw( read: &[TypeHash], write: &[TypeHash], include: &[TypeHash], exclude: &[TypeHash], ) -> Self
pub fn read<T>(self) -> Self
pub fn read_raw(self, type_hash: TypeHash) -> Self
pub fn write<T>(self) -> Self
pub fn write_raw(self, type_hash: TypeHash) -> Self
pub fn include<T>(self) -> Self
pub fn include_raw(self, type_hash: TypeHash) -> Self
pub fn exclude<T>(self) -> Self
pub fn exclude_raw(self, type_hash: TypeHash) -> Self
pub fn does_accept_archetype(&self, archetype: &Archetype) -> bool
pub fn unique_access(&self, output: &mut HashSet<TypeHash>)
pub fn query<'a, const LOCKING: bool>( &self, world: &'a World, ) -> DynamicQueryIter<'a, LOCKING> ⓘ
pub fn lookup<'a, const LOCKING: bool>( &self, world: &'a World, entities: impl IntoIterator<Item = Entity> + 'a, ) -> DynamicLookupIter<'a, LOCKING> ⓘ
pub fn lookup_access<'a, const LOCKING: bool>( &self, world: &'a World, ) -> DynamicLookupAccess<'a, LOCKING>
Trait Implementations§
Source§impl Debug for DynamicQueryFilter
impl Debug for DynamicQueryFilter
Source§impl Default for DynamicQueryFilter
impl Default for DynamicQueryFilter
Source§fn default() -> DynamicQueryFilter
fn default() -> DynamicQueryFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DynamicQueryFilter
impl RefUnwindSafe for DynamicQueryFilter
impl Send for DynamicQueryFilter
impl Sync for DynamicQueryFilter
impl Unpin for DynamicQueryFilter
impl UnwindSafe for DynamicQueryFilter
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