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: StructureTypenext: *mut c_voidvelocity_flags: SpaceVelocityFlagslinear_velocity: Vector3fangular_velocity: Vector3fImplementations
sourceimpl 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
sourceimpl Clone for SpaceVelocity
impl Clone for SpaceVelocity
sourcefn clone(&self) -> SpaceVelocity
fn clone(&self) -> SpaceVelocity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more