pub struct Has<T>(/* private fields */);Trait Implementations§
Source§impl<A> ArchQuery for Has<A>where
A: Archetype,
impl<A> ArchQuery for Has<A>where
A: Archetype,
type Item<'a> = bool
Source§unsafe fn fetch<'a>(
arch_storage: *mut ArchEntityStorage,
_index: ArchStorageIndex,
comp_factory: &'a ComponentFactory,
) -> bool
unsafe fn fetch<'a>( arch_storage: *mut ArchEntityStorage, _index: ArchStorageIndex, comp_factory: &'a ComponentFactory, ) -> bool
Safety Read more
fn merge_prime_arch_key_with( _pkey: &mut PrimeArchKey, _comp_factory: &ComponentFactory, )
Source§unsafe fn iter_query_matches<'a>(
arch_storages: *mut ArchStorages,
comp_factory: &'a ComponentFactory,
) -> impl Iterator<Item = Self::Item<'a>> + 'a
unsafe fn iter_query_matches<'a>( arch_storages: *mut ArchStorages, comp_factory: &'a ComponentFactory, ) -> impl Iterator<Item = Self::Item<'a>> + 'a
Safety Read more
Source§unsafe fn iter_filtered_query_matches<F>(
arch_storages: *mut ArchStorages,
comp_factory: &ComponentFactory,
) -> impl Iterator<Item = Self::Item<'_>>where
F: ArchFilter,
unsafe fn iter_filtered_query_matches<F>(
arch_storages: *mut ArchStorages,
comp_factory: &ComponentFactory,
) -> impl Iterator<Item = Self::Item<'_>>where
F: ArchFilter,
Safety Read more
Auto Trait Implementations§
impl<T> Freeze for Has<T>
impl<T> RefUnwindSafe for Has<T>where
T: RefUnwindSafe,
impl<T> Send for Has<T>where
T: Send,
impl<T> Sync for Has<T>where
T: Sync,
impl<T> Unpin for Has<T>where
T: Unpin,
impl<T> UnwindSafe for Has<T>where
T: UnwindSafe,
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