pub struct ChangedBlocks {
pub a: u8,
pub bt: u8,
}
Expand description
ChangedBlocks struct stores the json object of type: p0_0_0: {a: 0, bt: 0} This object is used inside the savedGame object to keep track of each changed block in the world: p0_0_0: position of block in world, where px_y_z a: 0 if block does match natural generation / 1 if block does not match natural generation bt: type of block
Fields§
§a: u8
§bt: u8
Implementations§
Trait Implementations§
Source§impl Debug for ChangedBlocks
impl Debug for ChangedBlocks
Source§impl<'de> Deserialize<'de> for ChangedBlocks
impl<'de> Deserialize<'de> for ChangedBlocks
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 Freeze for ChangedBlocks
impl RefUnwindSafe for ChangedBlocks
impl Send for ChangedBlocks
impl Sync for ChangedBlocks
impl Unpin for ChangedBlocks
impl UnwindSafe for ChangedBlocks
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