Struct level_lib::anvil::region::chunk::block_entity::BlockEntityData
source · pub struct BlockEntityData {
pub id: String,
pub keep_packed: bool,
pub x: i32,
pub y: i32,
pub z: i32,
}Expand description
A Struct for common struct data
Fields§
§id: StringThe block id
keep_packed: boolIf true the block entity should not be placed
x: i32The X coordinate
y: i32The Y coordinate
z: i32The Z coordinate
Trait Implementations§
source§impl Debug for BlockEntityData
impl Debug for BlockEntityData
source§impl Default for BlockEntityData
impl Default for BlockEntityData
source§fn default() -> BlockEntityData
fn default() -> BlockEntityData
Returns the “default value” for a type. Read more
source§impl PartialEq for BlockEntityData
impl PartialEq for BlockEntityData
source§fn eq(&self, other: &BlockEntityData) -> bool
fn eq(&self, other: &BlockEntityData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BlockEntityData
Auto Trait Implementations§
impl Freeze for BlockEntityData
impl RefUnwindSafe for BlockEntityData
impl Send for BlockEntityData
impl Sync for BlockEntityData
impl Unpin for BlockEntityData
impl UnwindSafe for BlockEntityData
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