Struct mca_parser::nbt::BlockState
source · pub struct BlockState {
pub name: String,
pub properties: Option<Value>,
}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§
§name: String§properties: Option<Value>Trait Implementations§
source§impl Debug for BlockState
impl Debug for BlockState
source§impl<'de> Deserialize<'de> for BlockState
impl<'de> Deserialize<'de> for BlockState
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 BlockState
impl Send for BlockState
impl Sync for BlockState
impl Unpin for BlockState
impl UnwindSafe for BlockState
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