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