pub struct Without<S, C>(_);
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> RefUnwindSafe for Without<S, C> where
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, C> Send for Without<S, C> where
C: Send,
S: Send,
impl<S, C> Sync for Without<S, C> where
C: Sync,
S: Sync,
impl<S, C> Unpin for Without<S, C> where
C: Unpin,
S: Unpin,
impl<S, C> UnwindSafe for Without<S, C> where
C: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more