Trait rfw::ecs::query::FilterFetch[][src]

pub trait FilterFetch: for<'a> Fetch<'a> {
    unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool;
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool; }
Expand description

Fetch methods used by query filters. This trait exists to allow “short circuit” behaviors for relevant query filter fetches.

Required methods

Safety

Must always be called after Fetch::set_archetype. archetype_index must be in the range of the current archetype

Safety

Must always be called after Fetch::set_table. table_row must be in the range of the current table

Implementations on Foreign Types

Implementors