Struct openxr_sys::SpaceVelocity
source · #[repr(C)]pub struct SpaceVelocity {
pub ty: StructureType,
pub next: *mut c_void,
pub velocity_flags: SpaceVelocityFlags,
pub linear_velocity: Vector3f,
pub angular_velocity: Vector3f,
}
Expand description
See XrSpaceVelocity
Fields§
§ty: StructureType
§next: *mut c_void
§velocity_flags: SpaceVelocityFlags
§linear_velocity: Vector3f
§angular_velocity: Vector3f
Implementations§
source§impl SpaceVelocity
impl SpaceVelocity
pub const TYPE: StructureType = StructureType::SPACE_VELOCITY
sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
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 Debug for SpaceVelocity
impl Debug for SpaceVelocity
impl Copy for SpaceVelocity
Auto Trait Implementations§
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