Struct classicube_sys::EntityLocation
source · #[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
source§fn eq(&self, other: &EntityLocation) -> bool
fn eq(&self, other: &EntityLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)