Struct openxr::SpaceVelocity
source · pub struct SpaceVelocity {
pub velocity_flags: SpaceVelocityFlags,
pub linear_velocity: Vector3f,
pub angular_velocity: Vector3f,
}
Fields§
§velocity_flags: SpaceVelocityFlags
§linear_velocity: Vector3f
§angular_velocity: Vector3f
Trait Implementations§
source§impl Clone for SpaceVelocity
impl Clone for SpaceVelocity
source§fn clone(&self) -> SpaceVelocity
fn clone(&self) -> SpaceVelocity
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 Default for SpaceVelocity
impl Default for SpaceVelocity
source§fn default() -> SpaceVelocity
fn default() -> SpaceVelocity
Returns the “default value” for a type. Read more
source§impl PartialEq for SpaceVelocity
impl PartialEq for SpaceVelocity
source§fn eq(&self, other: &SpaceVelocity) -> bool
fn eq(&self, other: &SpaceVelocity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpaceVelocity
impl StructuralPartialEq for SpaceVelocity
Auto Trait Implementations§
impl Freeze for SpaceVelocity
impl RefUnwindSafe for SpaceVelocity
impl Send for SpaceVelocity
impl Sync for SpaceVelocity
impl Unpin for SpaceVelocity
impl UnwindSafe for SpaceVelocity
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
)