Or

Struct Or 

Source
pub struct Or<T>(pub T);
Expand description

A filter that tests if any of the given filters apply.

This is useful for example if a system with multiple components in a query only wants to run when one or more of the components have changed.

The And equivalent to this filter is a tuple testing that all the contained filters apply instead.

§Examples

fn print_cool_entity_system(query: Query<Entity, Or<(Changed<Color>, Changed<Style>)>>) {
    for entity in &query {
        println!("Entity {:?} got a new style or color", entity);
    }
}

Tuple Fields§

§0: T

Trait Implementations§

Source§

impl<T> Clone for Or<T>
where T: Clone,

Source§

fn clone(&self) -> Or<T>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'w> Fetch<'w> for Or<()>

Source§

const IS_DENSE: bool = true

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool = true

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<()>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<()>, last_change_tick: u32, change_tick: u32, ) -> Or<()>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<()> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<()> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<()> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<()> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0> Fetch<'w> for Or<(OrFetch<'w, F0>,)>
where F0: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State,)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State,)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>,)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>,)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>,)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>,)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>,)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>)>
where F0: Fetch<'w>, F1: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>, F7: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>, F7: Fetch<'w>, F8: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>, F7: Fetch<'w>, F8: Fetch<'w>, F9: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>, F7: Fetch<'w>, F8: Fetch<'w>, F9: Fetch<'w>, F10: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>, F7: Fetch<'w>, F8: Fetch<'w>, F9: Fetch<'w>, F10: Fetch<'w>, F11: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State, <F11 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State, <F11 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>, F7: Fetch<'w>, F8: Fetch<'w>, F9: Fetch<'w>, F10: Fetch<'w>, F11: Fetch<'w>, F12: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State, <F11 as Fetch<'w>>::State, <F12 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State, <F11 as Fetch<'w>>::State, <F12 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>, F7: Fetch<'w>, F8: Fetch<'w>, F9: Fetch<'w>, F10: Fetch<'w>, F11: Fetch<'w>, F12: Fetch<'w>, F13: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State, <F11 as Fetch<'w>>::State, <F12 as Fetch<'w>>::State, <F13 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State, <F11 as Fetch<'w>>::State, <F12 as Fetch<'w>>::State, <F13 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> Fetch<'w> for Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>, OrFetch<'w, F14>)>
where F0: Fetch<'w>, F1: Fetch<'w>, F2: Fetch<'w>, F3: Fetch<'w>, F4: Fetch<'w>, F5: Fetch<'w>, F6: Fetch<'w>, F7: Fetch<'w>, F8: Fetch<'w>, F9: Fetch<'w>, F10: Fetch<'w>, F11: Fetch<'w>, F12: Fetch<'w>, F13: Fetch<'w>, F14: Fetch<'w>,

Source§

const IS_DENSE: bool

Returns true if (and only if) every table of every archetype matched by this fetch contains all of the matched components. This is used to select a more efficient “table iterator” for “dense” queries. If this returns true, Fetch::set_table and Fetch::table_fetch will be called for iterators. If this returns false, Fetch::set_archetype and Fetch::archetype_fetch will be called for iterators.
Source§

const IS_ARCHETYPAL: bool

Returns true if (and only if) this Fetch relies strictly on archetypes to limit which components are accessed by the Query. Read more
Source§

type State = Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State, <F11 as Fetch<'w>>::State, <F12 as Fetch<'w>>::State, <F13 as Fetch<'w>>::State, <F14 as Fetch<'w>>::State)>

Source§

type Item = bool

Source§

unsafe fn init( world: &'w World, state: &Or<(<F0 as Fetch<'w>>::State, <F1 as Fetch<'w>>::State, <F2 as Fetch<'w>>::State, <F3 as Fetch<'w>>::State, <F4 as Fetch<'w>>::State, <F5 as Fetch<'w>>::State, <F6 as Fetch<'w>>::State, <F7 as Fetch<'w>>::State, <F8 as Fetch<'w>>::State, <F9 as Fetch<'w>>::State, <F10 as Fetch<'w>>::State, <F11 as Fetch<'w>>::State, <F12 as Fetch<'w>>::State, <F13 as Fetch<'w>>::State, <F14 as Fetch<'w>>::State)>, last_change_tick: u32, change_tick: u32, ) -> Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>, OrFetch<'w, F14>)>

Creates a new instance of this fetch. Read more
Source§

unsafe fn set_table( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>, OrFetch<'w, F14>)> as Fetch<'w>>::State, table: &'w Table, )

Adjusts internal state to account for the next Table. This will always be called on tables that match this Fetch. Read more
Source§

unsafe fn set_archetype( &mut self, state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>, OrFetch<'w, F14>)> as Fetch<'w>>::State, archetype: &'w Archetype, tables: &'w Tables, )

Adjusts internal state to account for the next Archetype. This will always be called on archetypes that match this Fetch. Read more
Source§

unsafe fn table_fetch(&mut self, table_row: usize) -> bool

Fetch Self::Item for the given table_row in the current Table. This must always be called after Fetch::set_table with a table_row in the range of the current Table Read more
Source§

unsafe fn archetype_fetch(&mut self, archetype_index: usize) -> bool

Fetch Self::Item for the given archetype_index in the current Archetype. This must always be called after Fetch::set_archetype with an archetype_index in the range of the current Archetype Read more
Source§

unsafe fn table_filter_fetch(&mut self, table_row: usize) -> bool

Safety Read more
Source§

unsafe fn archetype_filter_fetch(&mut self, archetype_index: usize) -> bool

Safety Read more
Source§

fn update_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>, OrFetch<'w, F14>)> as Fetch<'w>>::State, access: &mut FilteredAccess<ComponentId>, )

Source§

fn update_archetype_component_access( state: &<Or<(OrFetch<'w, F0>, OrFetch<'w, F1>, OrFetch<'w, F2>, OrFetch<'w, F3>, OrFetch<'w, F4>, OrFetch<'w, F5>, OrFetch<'w, F6>, OrFetch<'w, F7>, OrFetch<'w, F8>, OrFetch<'w, F9>, OrFetch<'w, F10>, OrFetch<'w, F11>, OrFetch<'w, F12>, OrFetch<'w, F13>, OrFetch<'w, F14>)> as Fetch<'w>>::State, archetype: &Archetype, access: &mut Access<ArchetypeComponentId>, )

Source§

impl FetchState for Or<()>

Source§

fn init(world: &mut World) -> Or<()>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0> FetchState for Or<(F0,)>
where F0: FetchState,

Source§

fn init(world: &mut World) -> Or<(F0,)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1> FetchState for Or<(F0, F1)>
where F0: FetchState, F1: FetchState,

Source§

fn init(world: &mut World) -> Or<(F0, F1)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1, F2> FetchState for Or<(F0, F1, F2)>
where F0: FetchState, F1: FetchState, F2: FetchState,

Source§

fn init(world: &mut World) -> Or<(F0, F1, F2)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1, F2, F3> FetchState for Or<(F0, F1, F2, F3)>
where F0: FetchState, F1: FetchState, F2: FetchState, F3: FetchState,

Source§

fn init(world: &mut World) -> Or<(F0, F1, F2, F3)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1, F2, F3, F4> FetchState for Or<(F0, F1, F2, F3, F4)>
where F0: FetchState, F1: FetchState, F2: FetchState, F3: FetchState, F4: FetchState,

Source§

fn init(world: &mut World) -> Or<(F0, F1, F2, F3, F4)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1, F2, F3, F4, F5> FetchState for Or<(F0, F1, F2, F3, F4, F5)>
where F0: FetchState, F1: FetchState, F2: FetchState, F3: FetchState, F4: FetchState, F5: FetchState,

Source§

fn init(world: &mut World) -> Or<(F0, F1, F2, F3, F4, F5)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1, F2, F3, F4, F5, F6> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6)>
where F0: FetchState, F1: FetchState, F2: FetchState, F3: FetchState, F4: FetchState, F5: FetchState, F6: FetchState,

Source§

fn init(world: &mut World) -> Or<(F0, F1, F2, F3, F4, F5, F6)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6, F7)>

Source§

fn init(world: &mut World) -> Or<(F0, F1, F2, F3, F4, F5, F6, F7)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>

Source§

fn init(world: &mut World) -> Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>

Source§

fn matches_component_set( &self, _set_contains_id: &impl Fn(ComponentId) -> bool, ) -> bool

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> FetchState for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)>
where F0: FetchState, F1: FetchState, F2: FetchState, F3: FetchState, F4: FetchState, F5: FetchState, F6: FetchState, F7: FetchState, F8: FetchState, F9: FetchState, F10: FetchState, F11: FetchState, F12: FetchState, F13: FetchState, F14: FetchState,

Source§

impl WorldQuery for Or<()>

Source§

type ReadOnly = Or<()>

Source§

type State = Or<()>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<()> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<()> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0> WorldQuery for Or<(F0,)>
where F0: WorldQuery,

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly,)>

Source§

type State = Or<(<F0 as WorldQuery>::State,)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0,)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0,)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1> WorldQuery for Or<(F0, F1)>
where F0: WorldQuery, F1: WorldQuery,

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2> WorldQuery for Or<(F0, F1, F2)>
where F0: WorldQuery, F1: WorldQuery, F2: WorldQuery,

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3> WorldQuery for Or<(F0, F1, F2, F3)>
where F0: WorldQuery, F1: WorldQuery, F2: WorldQuery, F3: WorldQuery,

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4> WorldQuery for Or<(F0, F1, F2, F3, F4)>
where F0: WorldQuery, F1: WorldQuery, F2: WorldQuery, F3: WorldQuery, F4: WorldQuery,

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5> WorldQuery for Or<(F0, F1, F2, F3, F4, F5)>
where F0: WorldQuery, F1: WorldQuery, F2: WorldQuery, F3: WorldQuery, F4: WorldQuery, F5: WorldQuery,

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6)>
where F0: WorldQuery, F1: WorldQuery, F2: WorldQuery, F3: WorldQuery, F4: WorldQuery, F5: WorldQuery, F6: WorldQuery,

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7)>

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly, <F7 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State, <F7 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6, F7)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6, F7)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly, <F7 as WorldQuery>::ReadOnly, <F8 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State, <F7 as WorldQuery>::State, <F8 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly, <F7 as WorldQuery>::ReadOnly, <F8 as WorldQuery>::ReadOnly, <F9 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State, <F7 as WorldQuery>::State, <F8 as WorldQuery>::State, <F9 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly, <F7 as WorldQuery>::ReadOnly, <F8 as WorldQuery>::ReadOnly, <F9 as WorldQuery>::ReadOnly, <F10 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State, <F7 as WorldQuery>::State, <F8 as WorldQuery>::State, <F9 as WorldQuery>::State, <F10 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly, <F7 as WorldQuery>::ReadOnly, <F8 as WorldQuery>::ReadOnly, <F9 as WorldQuery>::ReadOnly, <F10 as WorldQuery>::ReadOnly, <F11 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State, <F7 as WorldQuery>::State, <F8 as WorldQuery>::State, <F9 as WorldQuery>::State, <F10 as WorldQuery>::State, <F11 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly, <F7 as WorldQuery>::ReadOnly, <F8 as WorldQuery>::ReadOnly, <F9 as WorldQuery>::ReadOnly, <F10 as WorldQuery>::ReadOnly, <F11 as WorldQuery>::ReadOnly, <F12 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State, <F7 as WorldQuery>::State, <F8 as WorldQuery>::State, <F9 as WorldQuery>::State, <F10 as WorldQuery>::State, <F11 as WorldQuery>::State, <F12 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)>

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly, <F7 as WorldQuery>::ReadOnly, <F8 as WorldQuery>::ReadOnly, <F9 as WorldQuery>::ReadOnly, <F10 as WorldQuery>::ReadOnly, <F11 as WorldQuery>::ReadOnly, <F12 as WorldQuery>::ReadOnly, <F13 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State, <F7 as WorldQuery>::State, <F8 as WorldQuery>::State, <F9 as WorldQuery>::State, <F10 as WorldQuery>::State, <F11 as WorldQuery>::State, <F12 as WorldQuery>::State, <F13 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> WorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)>
where F0: WorldQuery, F1: WorldQuery, F2: WorldQuery, F3: WorldQuery, F4: WorldQuery, F5: WorldQuery, F6: WorldQuery, F7: WorldQuery, F8: WorldQuery, F9: WorldQuery, F10: WorldQuery, F11: WorldQuery, F12: WorldQuery, F13: WorldQuery, F14: WorldQuery,

Source§

type ReadOnly = Or<(<F0 as WorldQuery>::ReadOnly, <F1 as WorldQuery>::ReadOnly, <F2 as WorldQuery>::ReadOnly, <F3 as WorldQuery>::ReadOnly, <F4 as WorldQuery>::ReadOnly, <F5 as WorldQuery>::ReadOnly, <F6 as WorldQuery>::ReadOnly, <F7 as WorldQuery>::ReadOnly, <F8 as WorldQuery>::ReadOnly, <F9 as WorldQuery>::ReadOnly, <F10 as WorldQuery>::ReadOnly, <F11 as WorldQuery>::ReadOnly, <F12 as WorldQuery>::ReadOnly, <F13 as WorldQuery>::ReadOnly, <F14 as WorldQuery>::ReadOnly)>

Source§

type State = Or<(<F0 as WorldQuery>::State, <F1 as WorldQuery>::State, <F2 as WorldQuery>::State, <F3 as WorldQuery>::State, <F4 as WorldQuery>::State, <F5 as WorldQuery>::State, <F6 as WorldQuery>::State, <F7 as WorldQuery>::State, <F8 as WorldQuery>::State, <F9 as WorldQuery>::State, <F10 as WorldQuery>::State, <F11 as WorldQuery>::State, <F12 as WorldQuery>::State, <F13 as WorldQuery>::State, <F14 as WorldQuery>::State)>

Source§

fn shrink<'wlong, 'wshort>( item: <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)> as WorldQueryGats<'wlong>>::Fetch as Fetch<'wlong>>::Item, ) -> <<Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)> as WorldQueryGats<'wshort>>::Fetch as Fetch<'wshort>>::Item
where 'wlong: 'wshort,

This function manually implements variance for the query items.
Source§

impl<'w> WorldQueryGats<'w> for Or<()>

Source§

impl<'w, F0> WorldQueryGats<'w> for Or<(F0,)>
where F0: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>,)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State,)>

Source§

impl<'w, F0, F1> WorldQueryGats<'w> for Or<(F0, F1)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2> WorldQueryGats<'w> for Or<(F0, F1, F2)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3> WorldQueryGats<'w> for Or<(F0, F1, F2, F3)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6, F7)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>, F7: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F7 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State, <F7 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>, F7: WorldQueryGats<'w>, F8: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F7 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F8 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State, <F7 as WorldQueryGats<'w>>::_State, <F8 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>, F7: WorldQueryGats<'w>, F8: WorldQueryGats<'w>, F9: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F7 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F8 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F9 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State, <F7 as WorldQueryGats<'w>>::_State, <F8 as WorldQueryGats<'w>>::_State, <F9 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>, F7: WorldQueryGats<'w>, F8: WorldQueryGats<'w>, F9: WorldQueryGats<'w>, F10: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F7 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F8 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F9 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F10 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State, <F7 as WorldQueryGats<'w>>::_State, <F8 as WorldQueryGats<'w>>::_State, <F9 as WorldQueryGats<'w>>::_State, <F10 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>, F7: WorldQueryGats<'w>, F8: WorldQueryGats<'w>, F9: WorldQueryGats<'w>, F10: WorldQueryGats<'w>, F11: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F7 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F8 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F9 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F10 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F11 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State, <F7 as WorldQueryGats<'w>>::_State, <F8 as WorldQueryGats<'w>>::_State, <F9 as WorldQueryGats<'w>>::_State, <F10 as WorldQueryGats<'w>>::_State, <F11 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>, F7: WorldQueryGats<'w>, F8: WorldQueryGats<'w>, F9: WorldQueryGats<'w>, F10: WorldQueryGats<'w>, F11: WorldQueryGats<'w>, F12: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F7 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F8 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F9 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F10 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F11 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F12 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State, <F7 as WorldQueryGats<'w>>::_State, <F8 as WorldQueryGats<'w>>::_State, <F9 as WorldQueryGats<'w>>::_State, <F10 as WorldQueryGats<'w>>::_State, <F11 as WorldQueryGats<'w>>::_State, <F12 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>, F7: WorldQueryGats<'w>, F8: WorldQueryGats<'w>, F9: WorldQueryGats<'w>, F10: WorldQueryGats<'w>, F11: WorldQueryGats<'w>, F12: WorldQueryGats<'w>, F13: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F7 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F8 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F9 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F10 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F11 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F12 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F13 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State, <F7 as WorldQueryGats<'w>>::_State, <F8 as WorldQueryGats<'w>>::_State, <F9 as WorldQueryGats<'w>>::_State, <F10 as WorldQueryGats<'w>>::_State, <F11 as WorldQueryGats<'w>>::_State, <F12 as WorldQueryGats<'w>>::_State, <F13 as WorldQueryGats<'w>>::_State)>

Source§

impl<'w, F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> WorldQueryGats<'w> for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)>
where F0: WorldQueryGats<'w>, F1: WorldQueryGats<'w>, F2: WorldQueryGats<'w>, F3: WorldQueryGats<'w>, F4: WorldQueryGats<'w>, F5: WorldQueryGats<'w>, F6: WorldQueryGats<'w>, F7: WorldQueryGats<'w>, F8: WorldQueryGats<'w>, F9: WorldQueryGats<'w>, F10: WorldQueryGats<'w>, F11: WorldQueryGats<'w>, F12: WorldQueryGats<'w>, F13: WorldQueryGats<'w>, F14: WorldQueryGats<'w>,

Source§

type Fetch = Or<(OrFetch<'w, <F0 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F1 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F2 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F3 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F4 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F5 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F6 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F7 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F8 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F9 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F10 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F11 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F12 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F13 as WorldQueryGats<'w>>::Fetch>, OrFetch<'w, <F14 as WorldQueryGats<'w>>::Fetch>)>

Source§

type _State = Or<(<F0 as WorldQueryGats<'w>>::_State, <F1 as WorldQueryGats<'w>>::_State, <F2 as WorldQueryGats<'w>>::_State, <F3 as WorldQueryGats<'w>>::_State, <F4 as WorldQueryGats<'w>>::_State, <F5 as WorldQueryGats<'w>>::_State, <F6 as WorldQueryGats<'w>>::_State, <F7 as WorldQueryGats<'w>>::_State, <F8 as WorldQueryGats<'w>>::_State, <F9 as WorldQueryGats<'w>>::_State, <F10 as WorldQueryGats<'w>>::_State, <F11 as WorldQueryGats<'w>>::_State, <F12 as WorldQueryGats<'w>>::_State, <F13 as WorldQueryGats<'w>>::_State, <F14 as WorldQueryGats<'w>>::_State)>

Source§

impl ArchetypeFilter for Or<()>

Source§

impl<F0> ArchetypeFilter for Or<(F0,)>
where F0: ArchetypeFilter,

Source§

impl<F0, F1> ArchetypeFilter for Or<(F0, F1)>

Source§

impl<F0, F1, F2> ArchetypeFilter for Or<(F0, F1, F2)>

Source§

impl<F0, F1, F2, F3> ArchetypeFilter for Or<(F0, F1, F2, F3)>

Source§

impl<F0, F1, F2, F3, F4> ArchetypeFilter for Or<(F0, F1, F2, F3, F4)>

Source§

impl<F0, F1, F2, F3, F4, F5> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6, F7)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ArchetypeFilter for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)>

Source§

impl<T> Copy for Or<T>
where T: Copy,

Source§

impl ReadOnlyWorldQuery for Or<()>

Source§

impl<F0> ReadOnlyWorldQuery for Or<(F0,)>

Source§

impl<F0, F1> ReadOnlyWorldQuery for Or<(F0, F1)>

Source§

impl<F0, F1, F2> ReadOnlyWorldQuery for Or<(F0, F1, F2)>

Source§

impl<F0, F1, F2, F3> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3)>

Source§

impl<F0, F1, F2, F3, F4> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4)>

Source§

impl<F0, F1, F2, F3, F4, F5> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)>

Auto Trait Implementations§

§

impl<T> Freeze for Or<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Or<T>
where T: RefUnwindSafe,

§

impl<T> Send for Or<T>
where T: Send,

§

impl<T> Sync for Or<T>
where T: Sync,

§

impl<T> Unpin for Or<T>
where T: Unpin,

§

impl<T> UnwindSafe for Or<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
Source§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> TypeData for T
where T: 'static + Send + Sync + Clone,

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> Event for T
where T: Send + Sync + 'static,

Source§

impl<T> Resource for T
where T: Send + Sync + 'static,