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