pub struct PlayerPos {
pub position: v3f,
pub speed: v3f,
pub pitch: f32,
pub yaw: f32,
pub keys_pressed: u32,
pub fov: f32,
pub wanted_range: u8,
}
Fields§
§position: v3f
§speed: v3f
§pitch: f32
§yaw: f32
§keys_pressed: u32
§fov: f32
§wanted_range: u8
Trait Implementations§
Source§impl Deserialize for PlayerPos
impl Deserialize for PlayerPos
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
impl StructuralPartialEq for PlayerPos
Auto Trait Implementations§
impl Freeze for PlayerPos
impl RefUnwindSafe for PlayerPos
impl Send for PlayerPos
impl Sync for PlayerPos
impl Unpin for PlayerPos
impl UnwindSafe for PlayerPos
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