Trait bevy_ecs::query::FilterFetch [−][src]
Fetch methods used by query filters. This trait exists to allow “short circuit” behaviors for relevant query filter fetches.
Required methods
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
Safety
Must always be called after Fetch::set_archetype. archetype_index
must be in the range
of the current archetype
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
Safety
Must always be called after Fetch::set_table. table_row
must be in the range of the
current table
Implementations on Foreign Types
impl<'a> FilterFetch for ()
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch> FilterFetch for (F0,)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch> FilterFetch for (F0, F1)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch> FilterFetch for (F0, F1, F2)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch> FilterFetch for (F0, F1, F2, F3)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch, F7: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6, F7)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch, F7: FilterFetch, F8: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch, F7: FilterFetch, F8: FilterFetch, F9: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch, F7: FilterFetch, F8: FilterFetch, F9: FilterFetch, F10: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch, F7: FilterFetch, F8: FilterFetch, F9: FilterFetch, F10: FilterFetch, F11: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch, F7: FilterFetch, F8: FilterFetch, F9: FilterFetch, F10: FilterFetch, F11: FilterFetch, F12: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch, F7: FilterFetch, F8: FilterFetch, F9: FilterFetch, F10: FilterFetch, F11: FilterFetch, F12: FilterFetch, F13: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
impl<'a, F0: FilterFetch, F1: FilterFetch, F2: FilterFetch, F3: FilterFetch, F4: FilterFetch, F5: FilterFetch, F6: FilterFetch, F7: FilterFetch, F8: FilterFetch, F9: FilterFetch, F10: FilterFetch, F11: FilterFetch, F12: FilterFetch, F13: FilterFetch, F14: FilterFetch> FilterFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
[src]
unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool
[src]
unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool
[src]
Implementors
impl<T> FilterFetch for T where
T: for<'a> Fetch<'a, Item = bool>,
[src]
T: for<'a> Fetch<'a, Item = bool>,