Struct mca_parser::nbt::BlockStates
source · pub struct BlockStates {
pub palette: Vec<BlockState>,
pub data: Option<LongArray>,
}Expand description
The represents part of a chunk’s nbt data stored in the region file
See https://minecraft.fandom.com/wiki/Chunk_format#NBT_structure
Fields§
§palette: Vec<BlockState>§data: Option<LongArray>Trait Implementations§
source§impl Debug for BlockStates
impl Debug for BlockStates
source§impl<'de> Deserialize<'de> for BlockStates
impl<'de> Deserialize<'de> for BlockStates
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
Auto Trait Implementations§
impl RefUnwindSafe for BlockStates
impl Send for BlockStates
impl Sync for BlockStates
impl Unpin for BlockStates
impl UnwindSafe for BlockStates
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