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