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