pub struct Any<F>(/* private fields */);Expand description
Disjunction of a tuple of zero to four filters; groups may nest.
Any<()> matches no entities. See QueryFilter for a runnable example.
Trait Implementations§
impl QueryFilter for Any<()>
impl<A: QueryFilter> QueryFilter for Any<(A,)>
impl<A: QueryFilter, B: QueryFilter> QueryFilter for Any<(A, B)>
impl<A: QueryFilter, B: QueryFilter, C: QueryFilter> QueryFilter for Any<(A, B, C)>
impl<A: QueryFilter, B: QueryFilter, C: QueryFilter, D: QueryFilter> QueryFilter for Any<(A, B, C, D)>
Auto Trait Implementations§
impl<F> Freeze for Any<F>
impl<F> RefUnwindSafe for Any<F>
impl<F> Send for Any<F>
impl<F> Sync for Any<F>
impl<F> Unpin for Any<F>
impl<F> UnwindSafe for Any<F>
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