Struct memory_management::world::player::PlayerPosition
source · pub struct PlayerPosition {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
The location of a player where y is the height
Fields§
§x: f64§y: f64§z: f64Trait Implementations§
source§impl Clone for PlayerPosition
impl Clone for PlayerPosition
source§fn clone(&self) -> PlayerPosition
fn clone(&self) -> PlayerPosition
Returns a copy 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 PartialEq for PlayerPosition
impl PartialEq for PlayerPosition
source§fn eq(&self, other: &PlayerPosition) -> bool
fn eq(&self, other: &PlayerPosition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PlayerPosition
impl StructuralPartialEq for PlayerPosition
Auto Trait Implementations§
impl Freeze for PlayerPosition
impl RefUnwindSafe for PlayerPosition
impl Send for PlayerPosition
impl Sync for PlayerPosition
impl Unpin for PlayerPosition
impl UnwindSafe for PlayerPosition
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