pub struct BlockEntity {
pub packed_xz: UByte,
pub y: Short,
pub type: VarInt,
pub data: NBT,
}
Fields§
§packed_xz: UByte
§y: Short
§type: VarInt
§data: NBT
Implementations§
Trait Implementations§
Source§impl Clone for BlockEntity
impl Clone for BlockEntity
Source§fn clone(&self) -> BlockEntity
fn clone(&self) -> BlockEntity
Returns a copy 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 BlockEntity
impl Debug for BlockEntity
Source§impl Field for BlockEntity
impl Field for BlockEntity
Auto Trait Implementations§
impl Freeze for BlockEntity
impl RefUnwindSafe for BlockEntity
impl Send for BlockEntity
impl Sync for BlockEntity
impl Unpin for BlockEntity
impl UnwindSafe for BlockEntity
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