pub struct Without<S, C>(/* private fields */);Expand description
A query specification to iterate over entities without a certain component.
§Examples
A query for components of type u32 and bool,
only matching entities without a component of type f32.
let query = Query::<Without<(&u32, &bool), f32>>::new();Trait Implementations§
Auto Trait Implementations§
impl<S, C> Freeze for Without<S, C>
impl<S, C> RefUnwindSafe for Without<S, C>where
S: RefUnwindSafe,
C: RefUnwindSafe,
impl<S, C> Send for Without<S, C>
impl<S, C> Sync for Without<S, C>
impl<S, C> Unpin for Without<S, C>
impl<S, C> UnwindSafe for Without<S, C>where
S: UnwindSafe,
C: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more