pub struct QueryMut<'q, Q: Query> { /* private fields */ }
Expand description
A query builder that’s convertible directly into an iterator
Implementations§
source§impl<'q, Q: Query> QueryMut<'q, Q>
impl<'q, Q: Query> QueryMut<'q, Q>
sourcepub fn with<R: Query>(self) -> QueryMut<'q, With<Q, R>>
pub fn with<R: Query>(self) -> QueryMut<'q, With<Q, R>>
Transform the query into one that requires another query be satisfied
See QueryBorrow::with
sourcepub fn without<R: Query>(self) -> QueryMut<'q, Without<Q, R>>
pub fn without<R: Query>(self) -> QueryMut<'q, Without<Q, R>>
Transform the query into one that skips entities satisfying another
See QueryBorrow::without
sourcepub fn into_iter_batched(self, batch_size: u32) -> BatchedIter<'q, Q> ⓘ
pub fn into_iter_batched(self, batch_size: u32) -> BatchedIter<'q, Q> ⓘ
Like into_iter
, but returns child iterators of at most batch_size
elements
Useful for distributing work over a threadpool.