Struct openxr_sys::SpaceVelocityFlags
source · [−]#[repr(transparent)]pub struct SpaceVelocityFlags(_);Expand description
Implementations
sourceimpl 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.
sourceimpl SpaceVelocityFlags
impl SpaceVelocityFlags
pub const EMPTY: Self = _
pub fn from_raw(x: u64) -> Self
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
sourceimpl BitAnd<SpaceVelocityFlags> for SpaceVelocityFlags
impl BitAnd<SpaceVelocityFlags> for SpaceVelocityFlags
type Output = SpaceVelocityFlags
type Output = SpaceVelocityFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
fn bitand(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<SpaceVelocityFlags> for SpaceVelocityFlags
impl BitAndAssign<SpaceVelocityFlags> for SpaceVelocityFlags
sourcefn bitand_assign(&mut self, rhs: SpaceVelocityFlags)
fn bitand_assign(&mut self, rhs: SpaceVelocityFlags)
Performs the
&= operation. Read moresourceimpl BitOr<SpaceVelocityFlags> for SpaceVelocityFlags
impl BitOr<SpaceVelocityFlags> for SpaceVelocityFlags
type Output = SpaceVelocityFlags
type Output = SpaceVelocityFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
fn bitor(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<SpaceVelocityFlags> for SpaceVelocityFlags
impl BitOrAssign<SpaceVelocityFlags> for SpaceVelocityFlags
sourcefn bitor_assign(&mut self, rhs: SpaceVelocityFlags)
fn bitor_assign(&mut self, rhs: SpaceVelocityFlags)
Performs the
|= operation. Read moresourceimpl BitXor<SpaceVelocityFlags> for SpaceVelocityFlags
impl BitXor<SpaceVelocityFlags> for SpaceVelocityFlags
type Output = SpaceVelocityFlags
type Output = SpaceVelocityFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
fn bitxor(self, rhs: SpaceVelocityFlags) -> SpaceVelocityFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<SpaceVelocityFlags> for SpaceVelocityFlags
impl BitXorAssign<SpaceVelocityFlags> for SpaceVelocityFlags
sourcefn bitxor_assign(&mut self, rhs: SpaceVelocityFlags)
fn bitxor_assign(&mut self, rhs: SpaceVelocityFlags)
Performs the
^= operation. Read moresourceimpl Clone for SpaceVelocityFlags
impl Clone for SpaceVelocityFlags
sourcefn clone(&self) -> SpaceVelocityFlags
fn clone(&self) -> SpaceVelocityFlags
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 SpaceVelocityFlags
impl Debug for SpaceVelocityFlags
sourceimpl Default for SpaceVelocityFlags
impl Default for SpaceVelocityFlags
sourceimpl Not for SpaceVelocityFlags
impl Not for SpaceVelocityFlags
type Output = SpaceVelocityFlags
type Output = SpaceVelocityFlags
The resulting type after applying the
! operator.sourcefn not(self) -> SpaceVelocityFlags
fn not(self) -> SpaceVelocityFlags
Performs the unary
! operation. Read moresourceimpl PartialEq<SpaceVelocityFlags> for SpaceVelocityFlags
impl PartialEq<SpaceVelocityFlags> for SpaceVelocityFlags
sourcefn eq(&self, other: &SpaceVelocityFlags) -> bool
fn eq(&self, other: &SpaceVelocityFlags) -> bool
impl Copy for SpaceVelocityFlags
impl Eq for SpaceVelocityFlags
impl StructuralEq for SpaceVelocityFlags
impl StructuralPartialEq for SpaceVelocityFlags
Auto Trait Implementations
impl RefUnwindSafe for SpaceVelocityFlags
impl Send for SpaceVelocityFlags
impl Sync for SpaceVelocityFlags
impl Unpin for SpaceVelocityFlags
impl UnwindSafe for SpaceVelocityFlags
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