pub struct ServerboundMovePlayerRot {
pub yaw: f32,
pub pitch: f32,
pub on_ground: bool,
}Fields§
§yaw: f32§pitch: f32§on_ground: boolTrait Implementations§
Source§impl Clone for ServerboundMovePlayerRot
impl Clone for ServerboundMovePlayerRot
Source§fn clone(&self) -> ServerboundMovePlayerRot
fn clone(&self) -> ServerboundMovePlayerRot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServerboundMovePlayerRot
impl Debug for ServerboundMovePlayerRot
Source§impl Decode for ServerboundMovePlayerRot
impl Decode for ServerboundMovePlayerRot
Source§impl Encode for ServerboundMovePlayerRot
impl Encode for ServerboundMovePlayerRot
Source§impl PartialEq for ServerboundMovePlayerRot
impl PartialEq for ServerboundMovePlayerRot
Source§fn eq(&self, other: &ServerboundMovePlayerRot) -> bool
fn eq(&self, other: &ServerboundMovePlayerRot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerboundMovePlayerRot
Auto Trait Implementations§
impl Freeze for ServerboundMovePlayerRot
impl RefUnwindSafe for ServerboundMovePlayerRot
impl Send for ServerboundMovePlayerRot
impl Sync for ServerboundMovePlayerRot
impl Unpin for ServerboundMovePlayerRot
impl UnsafeUnpin for ServerboundMovePlayerRot
impl UnwindSafe for ServerboundMovePlayerRot
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