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