struct ManagerState {
chunk_visibility: FxHashMap<ChunkPos, EntityVisibility>,
live_by_id: FxHashMap<i32, EntityEntry>,
live_by_uuid: FxHashMap<Uuid, i32>,
accessible_order: OrderedEntityIds,
by_section: BTreeMap<PackedSectionPos, OrderedEntityIds>,
by_spatial_cell: FxHashMap<EntitySpatialCell, OrderedEntityIds>,
by_chunk: FxHashMap<ChunkPos, FxHashSet<i32>>,
unloading_by_chunk: FxHashMap<ChunkPos, Vec<EntityEntry>>,
save_pending_by_chunk: FxHashMap<ChunkPos, Vec<EntityEntry>>,
tick_list: EntityTickList,
next_section_order: u64,
}Fields§
§chunk_visibility: FxHashMap<ChunkPos, EntityVisibility>§live_by_id: FxHashMap<i32, EntityEntry>§live_by_uuid: FxHashMap<Uuid, i32>§accessible_order: OrderedEntityIds§by_section: BTreeMap<PackedSectionPos, OrderedEntityIds>§by_spatial_cell: FxHashMap<EntitySpatialCell, OrderedEntityIds>§by_chunk: FxHashMap<ChunkPos, FxHashSet<i32>>§unloading_by_chunk: FxHashMap<ChunkPos, Vec<EntityEntry>>§save_pending_by_chunk: FxHashMap<ChunkPos, Vec<EntityEntry>>§tick_list: EntityTickList§next_section_order: u64Trait Implementations§
Source§impl Default for ManagerState
impl Default for ManagerState
Source§fn default() -> ManagerState
fn default() -> ManagerState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ManagerState
impl !UnwindSafe for ManagerState
impl Freeze for ManagerState
impl Send for ManagerState
impl Sync for ManagerState
impl Unpin for ManagerState
impl UnsafeUnpin for ManagerState
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<>>