pub struct ChunkSection {
pub y: i8,
pub block_states: Option<BlockStates>,
pub biomes: Option<Biomes>,
pub block_light: Option<Vec<u8>>,
pub sky_light: Option<Vec<u8>>,
}
Fields§
§y: i8
The Y position of this section.
Y
block_states: Option<BlockStates>
§biomes: Option<Biomes>
§block_light: Option<Vec<u8>>
§sky_light: Option<Vec<u8>>
Trait Implementations§
Source§impl Clone for ChunkSection
impl Clone for ChunkSection
Source§fn clone(&self) -> ChunkSection
fn clone(&self) -> ChunkSection
Returns a duplicate 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 FromCompoundNbt for ChunkSection
impl FromCompoundNbt for ChunkSection
fn from_compound_nbt(nbt: &NbtCompound<'_, '_>) -> Result<Self, SculkParseError>where
Self: Sized,
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