Struct classicube_sys::LocationUpdate
source · #[repr(C)]pub struct LocationUpdate {
pub pos: Vec3,
pub pitch: f32,
pub yaw: f32,
pub rotX: f32,
pub rotZ: f32,
pub flags: cc_uint8,
}
Fields§
§pos: Vec3
§pitch: f32
§yaw: f32
§rotX: f32
§rotZ: f32
§flags: cc_uint8
Trait Implementations§
source§impl Clone for LocationUpdate
impl Clone for LocationUpdate
source§fn clone(&self) -> LocationUpdate
fn clone(&self) -> LocationUpdate
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 LocationUpdate
impl Debug for LocationUpdate
source§impl PartialEq for LocationUpdate
impl PartialEq for LocationUpdate
source§fn eq(&self, other: &LocationUpdate) -> bool
fn eq(&self, other: &LocationUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LocationUpdate
impl StructuralPartialEq for LocationUpdate
Auto Trait Implementations§
impl Freeze for LocationUpdate
impl RefUnwindSafe for LocationUpdate
impl Send for LocationUpdate
impl Sync for LocationUpdate
impl Unpin for LocationUpdate
impl UnwindSafe for LocationUpdate
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
)