Struct mca_parser::nbt::ChunkSection
source · pub struct ChunkSection {
pub block_states: Option<BlockStates>,
pub y: i8,
pub biomes: Option<Biomes>,
}
Expand description
The represents a section (or subchunk) from a chunk’s NBT data stored in the region file
Fields§
§block_states: Option<BlockStates>
Block states of all blocks in this section
y: i8
y-value of the section
biomes: Option<Biomes>
Biomes used in this chunk
Trait Implementations§
source§impl Clone for ChunkSection
impl Clone for ChunkSection
source§fn clone(&self) -> ChunkSection
fn clone(&self) -> ChunkSection
Returns a copy of the value. Read more
1.0.0 · 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 ChunkSection
impl Debug for ChunkSection
source§impl<'de> Deserialize<'de> for ChunkSection
impl<'de> Deserialize<'de> for ChunkSection
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ChunkSection
impl PartialEq for ChunkSection
source§fn eq(&self, other: &ChunkSection) -> bool
fn eq(&self, other: &ChunkSection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChunkSection
Auto Trait Implementations§
impl RefUnwindSafe for ChunkSection
impl Send for ChunkSection
impl Sync for ChunkSection
impl Unpin for ChunkSection
impl UnwindSafe for ChunkSection
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