struct TickingChunkSnapshot {
block: Box<[TickableChunk]>,
random_chunk_indices: Box<[usize]>,
entity_indices: Box<[usize]>,
}Expand description
Immutable views of the chunk sets consumed during a game tick.
Entries retain the optimized SCC traversal order captured at the last membership-changing lifecycle boundary. This is also Steel’s documented final order for the implementation-specific cross-chunk ties that Vanilla derives from its fastutil map state.
Fields§
§block: Box<[TickableChunk]>§random_chunk_indices: Box<[usize]>§entity_indices: Box<[usize]>Trait Implementations§
Source§impl Default for TickingChunkSnapshot
impl Default for TickingChunkSnapshot
Source§fn default() -> TickingChunkSnapshot
fn default() -> TickingChunkSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TickingChunkSnapshot
impl !UnwindSafe for TickingChunkSnapshot
impl Freeze for TickingChunkSnapshot
impl Send for TickingChunkSnapshot
impl Sync for TickingChunkSnapshot
impl Unpin for TickingChunkSnapshot
impl UnsafeUnpin for TickingChunkSnapshot
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<>>