[][src]Trait dotrix_ecs::Query

pub trait Query<'w> {
    type Iter: Iterator + 'w;
    fn select(container: &'w Container) -> Self::Iter;
fn matches(container: &'w Container) -> bool; }

Trait definition of a Query

Associated Types

type Iter: Iterator + 'w

Loading content...

Required methods

fn select(container: &'w Container) -> Self::Iter

fn matches(container: &'w Container) -> bool

Loading content...

Implementations on Foreign Types

impl<'w, A, B, C, D> Query<'w> for (A, B, C, D) where
    A: Selector<'w> + 'w,
    B: Selector<'w> + 'w,
    C: Selector<'w> + 'w,
    D: Selector<'w> + 'w, 
[src]

type Iter = Zipper<'w, (A::Iter, B::Iter, C::Iter, D::Iter)>

impl<'w, B, C, D> Query<'w> for (B, C, D) where
    B: Selector<'w> + 'w,
    C: Selector<'w> + 'w,
    D: Selector<'w> + 'w, 
[src]

type Iter = Zipper<'w, (B::Iter, C::Iter, D::Iter)>

impl<'w, C, D> Query<'w> for (C, D) where
    C: Selector<'w> + 'w,
    D: Selector<'w> + 'w, 
[src]

type Iter = Zipper<'w, (C::Iter, D::Iter)>

impl<'w, D> Query<'w> for (D,) where
    D: Selector<'w> + 'w, 
[src]

type Iter = Zipper<'w, (D::Iter,)>

Loading content...

Implementors

Loading content...