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