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
impl StructuralPartialEq for ChunkSection
Auto Trait Implementations§
impl Freeze for ChunkSection
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