pub struct RegionOverlayQuery {
pub bounds: SlimeChunkBounds,
pub slime_chunks: Vec<ChunkPos>,
pub hardcoded_spawn_areas: Vec<HardcodedSpawnAreaOverlay>,
pub entities: Vec<EntityOverlay>,
pub block_entities: Vec<BlockEntityOverlay>,
pub villages: Vec<VillageOverlay>,
pub scanned_chunks: usize,
pub missing_chunks: usize,
}Expand description
Overlay query result for a map region.
Fields§
§bounds: SlimeChunkBoundsInclusive chunk bounds for this value.
slime_chunks: Vec<ChunkPos>Slime chunk positions in the queried region.
hardcoded_spawn_areas: Vec<HardcodedSpawnAreaOverlay>Hardcoded spawn area overlays in the queried region.
entities: Vec<EntityOverlay>Parsed entity records included in this value.
block_entities: Vec<BlockEntityOverlay>Whether block-entity records are loaded with render data.
villages: Vec<VillageOverlay>Whether village records are included.
scanned_chunks: usizeNumber of chunks scanned for this query.
missing_chunks: usizeNumber of expected chunks missing from storage.
Trait Implementations§
Source§impl Clone for RegionOverlayQuery
impl Clone for RegionOverlayQuery
Source§fn clone(&self) -> RegionOverlayQuery
fn clone(&self) -> RegionOverlayQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegionOverlayQuery
impl Debug for RegionOverlayQuery
Source§impl PartialEq for RegionOverlayQuery
impl PartialEq for RegionOverlayQuery
Source§fn eq(&self, other: &RegionOverlayQuery) -> bool
fn eq(&self, other: &RegionOverlayQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegionOverlayQuery
Auto Trait Implementations§
impl Freeze for RegionOverlayQuery
impl RefUnwindSafe for RegionOverlayQuery
impl Send for RegionOverlayQuery
impl Sync for RegionOverlayQuery
impl Unpin for RegionOverlayQuery
impl UnsafeUnpin for RegionOverlayQuery
impl UnwindSafe for RegionOverlayQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more