pub struct PlayBlockEntityDataSpec {
pub location: IntPosition,
pub action: BlockEntityDataAction,
pub nbt_data: NamedNbtTag,
}
Fields§
§location: IntPosition
§action: BlockEntityDataAction
§nbt_data: NamedNbtTag
Trait Implementations§
Source§impl Clone for PlayBlockEntityDataSpec
impl Clone for PlayBlockEntityDataSpec
Source§fn clone(&self) -> PlayBlockEntityDataSpec
fn clone(&self) -> PlayBlockEntityDataSpec
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 Debug for PlayBlockEntityDataSpec
impl Debug for PlayBlockEntityDataSpec
Source§impl Deserialize for PlayBlockEntityDataSpec
impl Deserialize for PlayBlockEntityDataSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(IntPosition, BlockEntityDataAction, NamedNbtTag)> for PlayBlockEntityDataSpec
impl From<(IntPosition, BlockEntityDataAction, NamedNbtTag)> for PlayBlockEntityDataSpec
Source§fn from(other: (IntPosition, BlockEntityDataAction, NamedNbtTag)) -> Self
fn from(other: (IntPosition, BlockEntityDataAction, NamedNbtTag)) -> Self
Converts to this type from the input type.
Source§impl From<PlayBlockEntityDataSpec> for (IntPosition, BlockEntityDataAction, NamedNbtTag)
impl From<PlayBlockEntityDataSpec> for (IntPosition, BlockEntityDataAction, NamedNbtTag)
Source§fn from(other: PlayBlockEntityDataSpec) -> Self
fn from(other: PlayBlockEntityDataSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayBlockEntityDataSpec
impl PartialEq for PlayBlockEntityDataSpec
Source§impl Serialize for PlayBlockEntityDataSpec
impl Serialize for PlayBlockEntityDataSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayBlockEntityDataSpec
Auto Trait Implementations§
impl Freeze for PlayBlockEntityDataSpec
impl RefUnwindSafe for PlayBlockEntityDataSpec
impl Send for PlayBlockEntityDataSpec
impl Sync for PlayBlockEntityDataSpec
impl Unpin for PlayBlockEntityDataSpec
impl UnwindSafe for PlayBlockEntityDataSpec
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