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