Struct mca_parser::Region
source · pub struct Region {
pub chunks: [Option<Chunk>; 1024],
pub coords: RegionPosition,
}
Expand description
Represents the contents of a region file
Fields§
§chunks: [Option<Chunk>; 1024]
The list of chunks contained in this region
coords: RegionPosition
Represents the coords in the world of this region in the order of (x, z) To find these from actual in-game coords, one must divide by 32 for the x and z (or >> 5)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
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