pub struct PlayClientPlayerPositionAndRotationSpec {
pub feet_location: EntityLocation<f64, f32>,
pub on_ground: bool,
}
Fields§
§feet_location: EntityLocation<f64, f32>
§on_ground: bool
Trait Implementations§
Source§impl Clone for PlayClientPlayerPositionAndRotationSpec
impl Clone for PlayClientPlayerPositionAndRotationSpec
Source§fn clone(&self) -> PlayClientPlayerPositionAndRotationSpec
fn clone(&self) -> PlayClientPlayerPositionAndRotationSpec
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 Deserialize for PlayClientPlayerPositionAndRotationSpec
impl Deserialize for PlayClientPlayerPositionAndRotationSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(EntityLocation<f64, f32>, bool)> for PlayClientPlayerPositionAndRotationSpec
impl From<(EntityLocation<f64, f32>, bool)> for PlayClientPlayerPositionAndRotationSpec
Source§impl From<PlayClientPlayerPositionAndRotationSpec> for (EntityLocation<f64, f32>, bool)
impl From<PlayClientPlayerPositionAndRotationSpec> for (EntityLocation<f64, f32>, bool)
Source§fn from(other: PlayClientPlayerPositionAndRotationSpec) -> Self
fn from(other: PlayClientPlayerPositionAndRotationSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayClientPlayerPositionAndRotationSpec
impl PartialEq for PlayClientPlayerPositionAndRotationSpec
Source§fn eq(&self, other: &PlayClientPlayerPositionAndRotationSpec) -> bool
fn eq(&self, other: &PlayClientPlayerPositionAndRotationSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for PlayClientPlayerPositionAndRotationSpec
impl Serialize for PlayClientPlayerPositionAndRotationSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayClientPlayerPositionAndRotationSpec
Auto Trait Implementations§
impl Freeze for PlayClientPlayerPositionAndRotationSpec
impl RefUnwindSafe for PlayClientPlayerPositionAndRotationSpec
impl Send for PlayClientPlayerPositionAndRotationSpec
impl Sync for PlayClientPlayerPositionAndRotationSpec
impl Unpin for PlayClientPlayerPositionAndRotationSpec
impl UnwindSafe for PlayClientPlayerPositionAndRotationSpec
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