Skip to main content

WorldQuery

Trait WorldQuery 

Source
pub trait WorldQuery {
    type StaticType: 'static;
    type Fetch<'w>: Copy;
    type Item<'w>;
    type Slice<'w>;

    // Required methods
    unsafe fn fetch_raw<'w>(
        arch: &Archetype,
        system_tick: u32,
    ) -> Option<Self::Fetch<'w>>;
    fn check_aliasing(types: &mut Vec<(TypeId, bool)>);
    fn matches_archetype(arch: &Archetype) -> bool;
    unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>;
    unsafe fn filter_row<'w>(
        fetch: Self::Fetch<'w>,
        row: usize,
        system_tick: u32,
    ) -> bool;
    unsafe fn get_slice<'w>(
        fetch: Self::Fetch<'w>,
        len: usize,
    ) -> Self::Slice<'w>;
}

Required Associated Types§

Source

type StaticType: 'static

Source

type Fetch<'w>: Copy

Source

type Item<'w>

Source

type Slice<'w>

Required Methods§

Source

unsafe fn fetch_raw<'w>( arch: &Archetype, system_tick: u32, ) -> Option<Self::Fetch<'w>>

Source

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source

fn matches_archetype(arch: &Archetype) -> bool

Source

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source

unsafe fn filter_row<'w>( fetch: Self::Fetch<'w>, row: usize, system_tick: u32, ) -> bool

Source

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T0: WorldQuery, T1: WorldQuery> WorldQuery for (T0, T1)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery> WorldQuery for (T0, T1, T2)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery> WorldQuery for (T0, T1, T2, T3)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery, T4: WorldQuery> WorldQuery for (T0, T1, T2, T3, T4)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType, <T4 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>, <T4 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>, <T4 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>, <T4 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery, T4: WorldQuery, T5: WorldQuery> WorldQuery for (T0, T1, T2, T3, T4, T5)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType, <T4 as WorldQuery>::StaticType, <T5 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>, <T4 as WorldQuery>::Fetch<'w>, <T5 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>, <T4 as WorldQuery>::Item<'w>, <T5 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>, <T4 as WorldQuery>::Slice<'w>, <T5 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery, T4: WorldQuery, T5: WorldQuery, T6: WorldQuery> WorldQuery for (T0, T1, T2, T3, T4, T5, T6)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType, <T4 as WorldQuery>::StaticType, <T5 as WorldQuery>::StaticType, <T6 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>, <T4 as WorldQuery>::Fetch<'w>, <T5 as WorldQuery>::Fetch<'w>, <T6 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>, <T4 as WorldQuery>::Item<'w>, <T5 as WorldQuery>::Item<'w>, <T6 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>, <T4 as WorldQuery>::Slice<'w>, <T5 as WorldQuery>::Slice<'w>, <T6 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery, T4: WorldQuery, T5: WorldQuery, T6: WorldQuery, T7: WorldQuery> WorldQuery for (T0, T1, T2, T3, T4, T5, T6, T7)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType, <T4 as WorldQuery>::StaticType, <T5 as WorldQuery>::StaticType, <T6 as WorldQuery>::StaticType, <T7 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>, <T4 as WorldQuery>::Fetch<'w>, <T5 as WorldQuery>::Fetch<'w>, <T6 as WorldQuery>::Fetch<'w>, <T7 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>, <T4 as WorldQuery>::Item<'w>, <T5 as WorldQuery>::Item<'w>, <T6 as WorldQuery>::Item<'w>, <T7 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>, <T4 as WorldQuery>::Slice<'w>, <T5 as WorldQuery>::Slice<'w>, <T6 as WorldQuery>::Slice<'w>, <T7 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery, T4: WorldQuery, T5: WorldQuery, T6: WorldQuery, T7: WorldQuery, T8: WorldQuery> WorldQuery for (T0, T1, T2, T3, T4, T5, T6, T7, T8)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType, <T4 as WorldQuery>::StaticType, <T5 as WorldQuery>::StaticType, <T6 as WorldQuery>::StaticType, <T7 as WorldQuery>::StaticType, <T8 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>, <T4 as WorldQuery>::Fetch<'w>, <T5 as WorldQuery>::Fetch<'w>, <T6 as WorldQuery>::Fetch<'w>, <T7 as WorldQuery>::Fetch<'w>, <T8 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>, <T4 as WorldQuery>::Item<'w>, <T5 as WorldQuery>::Item<'w>, <T6 as WorldQuery>::Item<'w>, <T7 as WorldQuery>::Item<'w>, <T8 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>, <T4 as WorldQuery>::Slice<'w>, <T5 as WorldQuery>::Slice<'w>, <T6 as WorldQuery>::Slice<'w>, <T7 as WorldQuery>::Slice<'w>, <T8 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery, T4: WorldQuery, T5: WorldQuery, T6: WorldQuery, T7: WorldQuery, T8: WorldQuery, T9: WorldQuery> WorldQuery for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType, <T4 as WorldQuery>::StaticType, <T5 as WorldQuery>::StaticType, <T6 as WorldQuery>::StaticType, <T7 as WorldQuery>::StaticType, <T8 as WorldQuery>::StaticType, <T9 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>, <T4 as WorldQuery>::Fetch<'w>, <T5 as WorldQuery>::Fetch<'w>, <T6 as WorldQuery>::Fetch<'w>, <T7 as WorldQuery>::Fetch<'w>, <T8 as WorldQuery>::Fetch<'w>, <T9 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>, <T4 as WorldQuery>::Item<'w>, <T5 as WorldQuery>::Item<'w>, <T6 as WorldQuery>::Item<'w>, <T7 as WorldQuery>::Item<'w>, <T8 as WorldQuery>::Item<'w>, <T9 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>, <T4 as WorldQuery>::Slice<'w>, <T5 as WorldQuery>::Slice<'w>, <T6 as WorldQuery>::Slice<'w>, <T7 as WorldQuery>::Slice<'w>, <T8 as WorldQuery>::Slice<'w>, <T9 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery, T4: WorldQuery, T5: WorldQuery, T6: WorldQuery, T7: WorldQuery, T8: WorldQuery, T9: WorldQuery, T10: WorldQuery> WorldQuery for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType, <T4 as WorldQuery>::StaticType, <T5 as WorldQuery>::StaticType, <T6 as WorldQuery>::StaticType, <T7 as WorldQuery>::StaticType, <T8 as WorldQuery>::StaticType, <T9 as WorldQuery>::StaticType, <T10 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>, <T4 as WorldQuery>::Fetch<'w>, <T5 as WorldQuery>::Fetch<'w>, <T6 as WorldQuery>::Fetch<'w>, <T7 as WorldQuery>::Fetch<'w>, <T8 as WorldQuery>::Fetch<'w>, <T9 as WorldQuery>::Fetch<'w>, <T10 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>, <T4 as WorldQuery>::Item<'w>, <T5 as WorldQuery>::Item<'w>, <T6 as WorldQuery>::Item<'w>, <T7 as WorldQuery>::Item<'w>, <T8 as WorldQuery>::Item<'w>, <T9 as WorldQuery>::Item<'w>, <T10 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>, <T4 as WorldQuery>::Slice<'w>, <T5 as WorldQuery>::Slice<'w>, <T6 as WorldQuery>::Slice<'w>, <T7 as WorldQuery>::Slice<'w>, <T8 as WorldQuery>::Slice<'w>, <T9 as WorldQuery>::Slice<'w>, <T10 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Source§

impl<T0: WorldQuery, T1: WorldQuery, T2: WorldQuery, T3: WorldQuery, T4: WorldQuery, T5: WorldQuery, T6: WorldQuery, T7: WorldQuery, T8: WorldQuery, T9: WorldQuery, T10: WorldQuery, T11: WorldQuery> WorldQuery for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

Source§

type StaticType = (<T0 as WorldQuery>::StaticType, <T1 as WorldQuery>::StaticType, <T2 as WorldQuery>::StaticType, <T3 as WorldQuery>::StaticType, <T4 as WorldQuery>::StaticType, <T5 as WorldQuery>::StaticType, <T6 as WorldQuery>::StaticType, <T7 as WorldQuery>::StaticType, <T8 as WorldQuery>::StaticType, <T9 as WorldQuery>::StaticType, <T10 as WorldQuery>::StaticType, <T11 as WorldQuery>::StaticType)

Source§

type Fetch<'w> = (<T0 as WorldQuery>::Fetch<'w>, <T1 as WorldQuery>::Fetch<'w>, <T2 as WorldQuery>::Fetch<'w>, <T3 as WorldQuery>::Fetch<'w>, <T4 as WorldQuery>::Fetch<'w>, <T5 as WorldQuery>::Fetch<'w>, <T6 as WorldQuery>::Fetch<'w>, <T7 as WorldQuery>::Fetch<'w>, <T8 as WorldQuery>::Fetch<'w>, <T9 as WorldQuery>::Fetch<'w>, <T10 as WorldQuery>::Fetch<'w>, <T11 as WorldQuery>::Fetch<'w>)

Source§

type Item<'w> = (<T0 as WorldQuery>::Item<'w>, <T1 as WorldQuery>::Item<'w>, <T2 as WorldQuery>::Item<'w>, <T3 as WorldQuery>::Item<'w>, <T4 as WorldQuery>::Item<'w>, <T5 as WorldQuery>::Item<'w>, <T6 as WorldQuery>::Item<'w>, <T7 as WorldQuery>::Item<'w>, <T8 as WorldQuery>::Item<'w>, <T9 as WorldQuery>::Item<'w>, <T10 as WorldQuery>::Item<'w>, <T11 as WorldQuery>::Item<'w>)

Source§

type Slice<'w> = (<T0 as WorldQuery>::Slice<'w>, <T1 as WorldQuery>::Slice<'w>, <T2 as WorldQuery>::Slice<'w>, <T3 as WorldQuery>::Slice<'w>, <T4 as WorldQuery>::Slice<'w>, <T5 as WorldQuery>::Slice<'w>, <T6 as WorldQuery>::Slice<'w>, <T7 as WorldQuery>::Slice<'w>, <T8 as WorldQuery>::Slice<'w>, <T9 as WorldQuery>::Slice<'w>, <T10 as WorldQuery>::Slice<'w>, <T11 as WorldQuery>::Slice<'w>)

Source§

unsafe fn fetch_raw<'w>(arch: &Archetype, tick: u32) -> Option<Self::Fetch<'w>>

Source§

fn check_aliasing(types: &mut Vec<(TypeId, bool)>)

Source§

fn matches_archetype(arch: &Archetype) -> bool

Source§

unsafe fn get_item<'w>(fetch: Self::Fetch<'w>, row: usize) -> Self::Item<'w>

Source§

unsafe fn filter_row<'w>(fetch: Self::Fetch<'w>, row: usize, tick: u32) -> bool

Source§

unsafe fn get_slice<'w>(fetch: Self::Fetch<'w>, len: usize) -> Self::Slice<'w>

Implementors§

Source§

impl<T0: FetchComponent> WorldQuery for T0

Source§

type StaticType = <T0 as FetchComponent>::Component

Source§

type Fetch<'w> = <T0 as FetchComponent>::Fetch<'w>

Source§

type Item<'w> = <T0 as FetchComponent>::Item<'w>

Source§

type Slice<'w> = <T0 as FetchComponent>::Slice<'w>

Source§

impl<T1: WorldQuery, T2: WorldQuery> WorldQuery for Or<T1, T2>

Source§

impl<T: 'static> WorldQuery for Changed<T>

Source§

impl<T: 'static> WorldQuery for With<T>

Source§

type StaticType = With<T>

Source§

type Fetch<'w> = ()

Source§

type Item<'w> = ()

Source§

type Slice<'w> = ()

Source§

impl<T: 'static> WorldQuery for Without<T>

Source§

type StaticType = Without<T>

Source§

type Fetch<'w> = ()

Source§

type Item<'w> = ()

Source§

type Slice<'w> = ()