[][src]Struct kudo::Query

pub struct Query<'world_borrow, T: QueryParams> {
    pub borrow: <<T as QueryParams>::Fetch as Fetch<'world_borrow>>::Item,
    // some fields omitted
}

Query for entities with specific components.

Fields

borrow: <<T as QueryParams>::Fetch as Fetch<'world_borrow>>::Item

Implementations

impl<'world_borrow, 'iter, D: QueryParams> Query<'world_borrow, D> where
    <<D as QueryParams>::Fetch as Fetch<'world_borrow>>::Item: GetIter<'iter>, 
[src]

pub fn iter(
    &'iter mut self
) -> <<<D as QueryParams>::Fetch as Fetch<'world_borrow>>::Item as GetIter<'iter>>::Iter
[src]

Gets an iterator over the components in this Query.

Trait Implementations

impl<'world_borrow, T: QueryParams> TopLevelQuery for Query<'world_borrow, T>[src]

Auto Trait Implementations

impl<'world_borrow, T> RefUnwindSafe for Query<'world_borrow, T> where
    <<T as QueryParams>::Fetch as Fetch<'world_borrow>>::Item: RefUnwindSafe

impl<'world_borrow, T> Send for Query<'world_borrow, T> where
    <<T as QueryParams>::Fetch as Fetch<'world_borrow>>::Item: Send

impl<'world_borrow, T> Sync for Query<'world_borrow, T> where
    <<T as QueryParams>::Fetch as Fetch<'world_borrow>>::Item: Sync

impl<'world_borrow, T> Unpin for Query<'world_borrow, T> where
    <<T as QueryParams>::Fetch as Fetch<'world_borrow>>::Item: Unpin

impl<'world_borrow, T> UnwindSafe for Query<'world_borrow, T> where
    <<T as QueryParams>::Fetch as Fetch<'world_borrow>>::Item: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.