[−]Struct openxr::SpaceRelationFlags
Methods
impl SpaceRelationFlags
pub const ORIENTATION_VALID: SpaceRelationFlags
Indicates validity of orientation member
pub const POSITION_VALID: SpaceRelationFlags
Indicates validity of position member
pub const LINEAR_VELOCITY_VALID: SpaceRelationFlags
Indicates validity of linearVelocity member
pub const ANGULAR_VELOCITY_VALID: SpaceRelationFlags
Indicates validity of angularVelocity member
pub const LINEAR_ACCELERATION_VALID: SpaceRelationFlags
Indicates validity of linearAcceleration member
pub const ANGULAR_ACCELERATION_VALID: SpaceRelationFlags
Indicates validity of angularAcceleration member
pub const ORIENTATION_TRACKED: SpaceRelationFlags
Indicates whether pose member contains an actively tracked orientation
pub const POSITION_TRACKED: SpaceRelationFlags
Indicates whether pose member contains an actively tracked position
impl SpaceRelationFlags
pub const EMPTY: SpaceRelationFlags
pub fn from_raw(x: u64) -> SpaceRelationFlags
pub fn into_raw(self) -> u64
pub fn is_empty(self) -> bool
pub fn intersects(self, other: SpaceRelationFlags) -> bool
pub fn contains(self, other: SpaceRelationFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations
impl BitAnd<SpaceRelationFlags> for SpaceRelationFlags
type Output = SpaceRelationFlags
The resulting type after applying the &
operator.
fn bitand(self, rhs: SpaceRelationFlags) -> SpaceRelationFlags
impl Eq for SpaceRelationFlags
impl Debug for SpaceRelationFlags
impl Default for SpaceRelationFlags
fn default() -> SpaceRelationFlags
impl BitOr<SpaceRelationFlags> for SpaceRelationFlags
type Output = SpaceRelationFlags
The resulting type after applying the |
operator.
fn bitor(self, rhs: SpaceRelationFlags) -> SpaceRelationFlags
impl BitXor<SpaceRelationFlags> for SpaceRelationFlags
type Output = SpaceRelationFlags
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: SpaceRelationFlags) -> SpaceRelationFlags
impl BitOrAssign<SpaceRelationFlags> for SpaceRelationFlags
fn bitor_assign(&mut self, rhs: SpaceRelationFlags)
impl Not for SpaceRelationFlags
type Output = SpaceRelationFlags
The resulting type after applying the !
operator.
fn not(self) -> SpaceRelationFlags
impl Copy for SpaceRelationFlags
impl BitAndAssign<SpaceRelationFlags> for SpaceRelationFlags
fn bitand_assign(&mut self, rhs: SpaceRelationFlags)
impl Clone for SpaceRelationFlags
fn clone(&self) -> SpaceRelationFlags
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<SpaceRelationFlags> for SpaceRelationFlags
fn eq(&self, other: &SpaceRelationFlags) -> bool
fn ne(&self, other: &SpaceRelationFlags) -> bool
impl BitXorAssign<SpaceRelationFlags> for SpaceRelationFlags
fn bitxor_assign(&mut self, rhs: SpaceRelationFlags)
Auto Trait Implementations
impl Send for SpaceRelationFlags
impl Sync for SpaceRelationFlags
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,