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