pub struct ChunkEntityLoadResult {
pub restored: Vec<SharedEntity>,
pub tracking_started: Vec<SharedEntity>,
pub ticking_started: Vec<SharedEntity>,
pub needs_save: bool,
}Expand description
Entity changes produced when a chunk becomes loaded.
Fields§
§restored: Vec<SharedEntity>Retained entities restored to live world membership.
tracking_started: Vec<SharedEntity>Live entities in this chunk whose tracking became visible again.
ticking_started: Vec<SharedEntity>Live entities in this chunk whose ticking became active again.
needs_save: boolWhether recovery created save-pending entity state for this chunk.
Trait Implementations§
Source§impl Default for ChunkEntityLoadResult
impl Default for ChunkEntityLoadResult
Source§fn default() -> ChunkEntityLoadResult
fn default() -> ChunkEntityLoadResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ChunkEntityLoadResult
impl !UnwindSafe for ChunkEntityLoadResult
impl Freeze for ChunkEntityLoadResult
impl Send for ChunkEntityLoadResult
impl Sync for ChunkEntityLoadResult
impl Unpin for ChunkEntityLoadResult
impl UnsafeUnpin for ChunkEntityLoadResult
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<>>