pub struct ClientsidePlayerRotation {
pub yaw: f32,
pub relative_yaw: bool,
pub pitch: f32,
pub relative_pitch: bool,
}Fields§
§yaw: f32§relative_yaw: bool§pitch: f32§relative_pitch: boolImplementations§
Trait Implementations§
Source§impl Clone for ClientsidePlayerRotation
impl Clone for ClientsidePlayerRotation
Source§fn clone(&self) -> ClientsidePlayerRotation
fn clone(&self) -> ClientsidePlayerRotation
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 ClientsidePlayerRotation
impl Debug for ClientsidePlayerRotation
Source§impl IntoPacket<ClientsidePlayPacket> for ClientsidePlayerRotation
impl IntoPacket<ClientsidePlayPacket> for ClientsidePlayerRotation
fn into_packet(self) -> ClientsidePlayPacket
Source§impl PartialEq for ClientsidePlayerRotation
impl PartialEq for ClientsidePlayerRotation
Source§fn eq(&self, other: &ClientsidePlayerRotation) -> bool
fn eq(&self, other: &ClientsidePlayerRotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientsidePlayerRotation
Auto Trait Implementations§
impl Freeze for ClientsidePlayerRotation
impl RefUnwindSafe for ClientsidePlayerRotation
impl Send for ClientsidePlayerRotation
impl Sync for ClientsidePlayerRotation
impl Unpin for ClientsidePlayerRotation
impl UnsafeUnpin for ClientsidePlayerRotation
impl UnwindSafe for ClientsidePlayerRotation
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