pub struct EntityLifecycleChanges {
pub tracking_started: Vec<SharedEntity>,
pub tracking_stopped: Vec<SharedEntity>,
pub ticking_started: Vec<SharedEntity>,
pub ticking_stopped: Vec<SharedEntity>,
}Expand description
Entity lifecycle changes caused by manager membership or visibility updates.
Fields§
§tracking_started: Vec<SharedEntity>Entities that became tracked.
tracking_stopped: Vec<SharedEntity>Entities that stopped being tracked.
ticking_started: Vec<SharedEntity>Entities that entered the world entity tick list.
ticking_stopped: Vec<SharedEntity>Entities that left the world entity tick list.
Implementations§
Trait Implementations§
Source§impl Debug for EntityLifecycleChanges
impl Debug for EntityLifecycleChanges
Source§impl Default for EntityLifecycleChanges
impl Default for EntityLifecycleChanges
Source§fn default() -> EntityLifecycleChanges
fn default() -> EntityLifecycleChanges
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EntityLifecycleChanges
impl !UnwindSafe for EntityLifecycleChanges
impl Freeze for EntityLifecycleChanges
impl Send for EntityLifecycleChanges
impl Sync for EntityLifecycleChanges
impl Unpin for EntityLifecycleChanges
impl UnsafeUnpin for EntityLifecycleChanges
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 moreWraps this value in an
Arc<SyncMutex<>>