pub struct Changes<'a, T>{ /* private fields */ }
Expand description
Collection of iterators over changes in T
components
Implementations§
Source§impl<'a, T> Changes<'a, T>
impl<'a, T> Changes<'a, T>
Sourcepub fn added(&mut self) -> impl ExactSizeIterator
pub fn added(&mut self) -> impl ExactSizeIterator
Iterate over entities which were given a new T
component after the preceding
track
call, including newly spawned entities
Sourcepub fn removed(&mut self) -> impl ExactSizeIterator
pub fn removed(&mut self) -> impl ExactSizeIterator
Iterate over entities which lost their T
component after the preceding
track
call, excluding any entities which were despawned
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Changes<'a, T>
impl<'a, T> RefUnwindSafe for Changes<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for Changes<'a, T>
impl<'a, T> !Sync for Changes<'a, T>
impl<'a, T> Unpin for Changes<'a, T>
impl<'a, T> !UnwindSafe for Changes<'a, T>
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