[][src]Struct hecs::QueryBorrow

pub struct QueryBorrow<'w, Q: Query> { /* fields omitted */ }

A borrow of a World sufficient to execute the query Q

Methods

impl<'w, Q: Query> QueryBorrow<'w, Q>[src]

Important traits for QueryIter<'q, 'w, Q>
pub fn iter<'q>(&'q mut self) -> QueryIter<'q, 'w, Q>[src]

Execute the query

Trait Implementations

impl<'w, Q: Query> Drop for QueryBorrow<'w, Q>[src]

impl<'q, 'w, Q: Query> IntoIterator for &'q mut QueryBorrow<'w, Q>[src]

type Item = (Entity, <Q::Fetch as Fetch<'q>>::Item)

The type of the elements being iterated over.

type IntoIter = QueryIter<'q, 'w, Q>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<'w, Q> !RefUnwindSafe for QueryBorrow<'w, Q>

impl<'w, Q> !Send for QueryBorrow<'w, Q>

impl<'w, Q> !Sync for QueryBorrow<'w, Q>

impl<'w, Q> Unpin for QueryBorrow<'w, Q> where
    Q: Unpin

impl<'w, Q> !UnwindSafe for QueryBorrow<'w, Q>

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.