Struct memory_management::world::player::Player
source · pub struct Player {
pub name: String,
pub position: PlayerPosition,
pub yaw: f32,
pub pitch: f32,
pub render_distance: f32,
/* private fields */
}Expand description
An instance of a player
Fields§
§name: String§position: PlayerPosition§yaw: f32§pitch: f32§render_distance: f32Implementations§
Auto Trait Implementations§
impl Freeze for Player
impl RefUnwindSafe for Player
impl !Send for Player
impl !Sync for Player
impl Unpin for Player
impl UnwindSafe for Player
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