Struct hecs::QueryMut

source ·
pub struct QueryMut<'q, Q: Query> { /* private fields */ }
Expand description

A query builder that’s convertible directly into an iterator

Implementations§

Provide random access to the query results

Transform the query into one that requires another query be satisfied

See QueryBorrow::with

Transform the query into one that skips entities satisfying another

See QueryBorrow::without

Like into_iter, but returns child iterators of at most batch_size elements

Useful for distributing work over a threadpool.

Trait Implementations§

The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.