pub struct Removed<C: Component> { /* private fields */ }Expand description
A QueryFilter to only include entities, which had the specified component removed since the last time the query ran.
This also includes deleted entities.
Trait Implementations§
Source§impl<C: Ord + Component> Ord for Removed<C>
impl<C: Ord + Component> Ord for Removed<C>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<C: PartialOrd + Component> PartialOrd for Removed<C>
impl<C: PartialOrd + Component> PartialOrd for Removed<C>
Source§impl<C: Component> QueryFilter for Removed<C>
impl<C: Component> QueryFilter for Removed<C>
impl<C: Eq + Component> Eq for Removed<C>
impl<C: Component> StructuralPartialEq for Removed<C>
Auto Trait Implementations§
impl<C> Freeze for Removed<C>
impl<C> RefUnwindSafe for Removed<C>where
C: RefUnwindSafe,
impl<C> Send for Removed<C>
impl<C> Sync for Removed<C>
impl<C> Unpin for Removed<C>where
C: Unpin,
impl<C> UnwindSafe for Removed<C>where
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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