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.
Trait Implementations§
source§impl<'q, Q: Query> IntoIterator for QueryMut<'q, Q>
impl<'q, Q: Query> IntoIterator for QueryMut<'q, Q>
Auto Trait Implementations§
impl<'q, Q> RefUnwindSafe for QueryMut<'q, Q>
impl<'q, Q> Send for QueryMut<'q, Q>
impl<'q, Q> Sync for QueryMut<'q, Q>
impl<'q, Q> Unpin for QueryMut<'q, Q>
impl<'q, Q> UnwindSafe for QueryMut<'q, Q>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more