#[repr(C)]pub struct EntityLocation {
pub pos: Vec3,
pub pitch: f32,
pub yaw: f32,
pub rotX: f32,
pub rotY: f32,
pub rotZ: f32,
}
Fields§
§pos: Vec3
§pitch: f32
§yaw: f32
§rotX: f32
§rotY: f32
§rotZ: f32
Trait Implementations§
Source§impl Clone for EntityLocation
impl Clone for EntityLocation
Source§fn clone(&self) -> EntityLocation
fn clone(&self) -> EntityLocation
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 Debug for EntityLocation
impl Debug for EntityLocation
Source§impl PartialEq for EntityLocation
impl PartialEq for EntityLocation
impl Copy for EntityLocation
impl StructuralPartialEq for EntityLocation
Auto Trait Implementations§
impl Freeze for EntityLocation
impl RefUnwindSafe for EntityLocation
impl Send for EntityLocation
impl Sync for EntityLocation
impl Unpin for EntityLocation
impl UnwindSafe for EntityLocation
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