pub struct BlockEntityData {
pub entity: NbtCompound,
}Fields§
§entity: NbtCompoundTrait Implementations§
Source§impl AzaleaRead for BlockEntityData
impl AzaleaRead for BlockEntityData
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for BlockEntityData
impl AzaleaWrite for BlockEntityData
Source§impl Clone for BlockEntityData
impl Clone for BlockEntityData
Source§fn clone(&self) -> BlockEntityData
fn clone(&self) -> BlockEntityData
Returns a duplicate 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 DataComponentTrait for BlockEntityData
impl DataComponentTrait for BlockEntityData
const KIND: DataComponentKind = DataComponentKind::BlockEntityData
Source§impl Debug for BlockEntityData
impl Debug for BlockEntityData
Source§impl From<BlockEntityData> for DataComponentUnion
impl From<BlockEntityData> for DataComponentUnion
Source§fn from(value: BlockEntityData) -> Self
fn from(value: BlockEntityData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlockEntityData
impl PartialEq for BlockEntityData
Source§impl Serialize for BlockEntityData
impl Serialize for BlockEntityData
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