Struct openxr::SpaceVelocityFlags
source · pub struct SpaceVelocityFlags(/* private fields */);
Expand description
Implementations§
source§impl SpaceVelocityFlags
impl SpaceVelocityFlags
sourcepub const LINEAR_VALID: SpaceVelocityFlags = _
pub const LINEAR_VALID: SpaceVelocityFlags = _
Indicates that the linearVelocity member contains valid data. Applications must: not read the linearVelocity field if this flag is unset.
sourcepub const ANGULAR_VALID: SpaceVelocityFlags = _
pub const ANGULAR_VALID: SpaceVelocityFlags = _
Indicates that the angularVelocity member contains valid data. Applications must: not read the angularVelocity field if this flag is unset.
source§impl SpaceVelocityFlags
impl SpaceVelocityFlags
pub const EMPTY: SpaceVelocityFlags = _
pub fn from_raw(x: u64) -> SpaceVelocityFlags
pub fn into_raw(self) -> u64
pub fn is_empty(self) -> bool
pub fn intersects(self, other: SpaceVelocityFlags) -> bool
sourcepub fn contains(self, other: SpaceVelocityFlags) -> bool
pub fn contains(self, other: SpaceVelocityFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations§
source§impl BitAnd for SpaceVelocityFlags
impl BitAnd for SpaceVelocityFlags
§type Output = SpaceVelocityFlags
type Output = SpaceVelocityFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
fn bitand(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for SpaceVelocityFlags
impl BitAndAssign for SpaceVelocityFlags
source§fn bitand_assign(&mut self, rhs: SpaceVelocityFlags)
fn bitand_assign(&mut self, rhs: SpaceVelocityFlags)
Performs the
&=
operation. Read moresource§impl BitOr for SpaceVelocityFlags
impl BitOr for SpaceVelocityFlags
§type Output = SpaceVelocityFlags
type Output = SpaceVelocityFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
fn bitor(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for SpaceVelocityFlags
impl BitOrAssign for SpaceVelocityFlags
source§fn bitor_assign(&mut self, rhs: SpaceVelocityFlags)
fn bitor_assign(&mut self, rhs: SpaceVelocityFlags)
Performs the
|=
operation. Read moresource§impl BitXor for SpaceVelocityFlags
impl BitXor for SpaceVelocityFlags
§type Output = SpaceVelocityFlags
type Output = SpaceVelocityFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
fn bitxor(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for SpaceVelocityFlags
impl BitXorAssign for SpaceVelocityFlags
source§fn bitxor_assign(&mut self, rhs: SpaceVelocityFlags)
fn bitxor_assign(&mut self, rhs: SpaceVelocityFlags)
Performs the
^=
operation. Read moresource§impl Clone for SpaceVelocityFlags
impl Clone for SpaceVelocityFlags
source§fn clone(&self) -> SpaceVelocityFlags
fn clone(&self) -> SpaceVelocityFlags
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 SpaceVelocityFlags
impl Debug for SpaceVelocityFlags
source§impl Default for SpaceVelocityFlags
impl Default for SpaceVelocityFlags
source§fn default() -> SpaceVelocityFlags
fn default() -> SpaceVelocityFlags
Returns the “default value” for a type. Read more
source§impl Not for SpaceVelocityFlags
impl Not for SpaceVelocityFlags
§type Output = SpaceVelocityFlags
type Output = SpaceVelocityFlags
The resulting type after applying the
!
operator.source§fn not(self) -> SpaceVelocityFlags
fn not(self) -> SpaceVelocityFlags
Performs the unary
!
operation. Read moresource§impl PartialEq for SpaceVelocityFlags
impl PartialEq for SpaceVelocityFlags
source§fn eq(&self, other: &SpaceVelocityFlags) -> bool
fn eq(&self, other: &SpaceVelocityFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpaceVelocityFlags
impl Eq for SpaceVelocityFlags
impl StructuralPartialEq for SpaceVelocityFlags
Auto Trait Implementations§
impl Freeze for SpaceVelocityFlags
impl RefUnwindSafe for SpaceVelocityFlags
impl Send for SpaceVelocityFlags
impl Sync for SpaceVelocityFlags
impl Unpin for SpaceVelocityFlags
impl UnwindSafe for SpaceVelocityFlags
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
)