pub struct PlayAcknowledgePlayerDiggingSpec {
pub location: IntPosition,
pub block: VarInt,
pub status: DiggingStatus,
pub successful: bool,
}
Fields§
§location: IntPosition
§block: VarInt
§status: DiggingStatus
§successful: bool
Trait Implementations§
Source§impl Clone for PlayAcknowledgePlayerDiggingSpec
impl Clone for PlayAcknowledgePlayerDiggingSpec
Source§fn clone(&self) -> PlayAcknowledgePlayerDiggingSpec
fn clone(&self) -> PlayAcknowledgePlayerDiggingSpec
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 Deserialize for PlayAcknowledgePlayerDiggingSpec
impl Deserialize for PlayAcknowledgePlayerDiggingSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(IntPosition, VarInt, DiggingStatus, bool)> for PlayAcknowledgePlayerDiggingSpec
impl From<(IntPosition, VarInt, DiggingStatus, bool)> for PlayAcknowledgePlayerDiggingSpec
Source§fn from(other: (IntPosition, VarInt, DiggingStatus, bool)) -> Self
fn from(other: (IntPosition, VarInt, DiggingStatus, bool)) -> Self
Converts to this type from the input type.
Source§impl From<PlayAcknowledgePlayerDiggingSpec> for (IntPosition, VarInt, DiggingStatus, bool)
impl From<PlayAcknowledgePlayerDiggingSpec> for (IntPosition, VarInt, DiggingStatus, bool)
Source§fn from(other: PlayAcknowledgePlayerDiggingSpec) -> Self
fn from(other: PlayAcknowledgePlayerDiggingSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayAcknowledgePlayerDiggingSpec
impl PartialEq for PlayAcknowledgePlayerDiggingSpec
Source§fn eq(&self, other: &PlayAcknowledgePlayerDiggingSpec) -> bool
fn eq(&self, other: &PlayAcknowledgePlayerDiggingSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for PlayAcknowledgePlayerDiggingSpec
impl Serialize for PlayAcknowledgePlayerDiggingSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayAcknowledgePlayerDiggingSpec
Auto Trait Implementations§
impl Freeze for PlayAcknowledgePlayerDiggingSpec
impl RefUnwindSafe for PlayAcknowledgePlayerDiggingSpec
impl Send for PlayAcknowledgePlayerDiggingSpec
impl Sync for PlayAcknowledgePlayerDiggingSpec
impl Unpin for PlayAcknowledgePlayerDiggingSpec
impl UnwindSafe for PlayAcknowledgePlayerDiggingSpec
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