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