Struct openxr::SpaceLocationFlags
source · [−]#[repr(transparent)]pub struct SpaceLocationFlags(_);Expand description
Implementations
sourceimpl SpaceLocationFlags
impl SpaceLocationFlags
sourcepub const ORIENTATION_VALID: SpaceLocationFlags
pub const ORIENTATION_VALID: SpaceLocationFlags
Indicates that the orientation member contains valid data
sourcepub const POSITION_VALID: SpaceLocationFlags
pub const POSITION_VALID: SpaceLocationFlags
Indicates that the position member contains valid data
sourcepub const ORIENTATION_TRACKED: SpaceLocationFlags
pub const ORIENTATION_TRACKED: SpaceLocationFlags
Indicates whether pose member contains an actively tracked orientation
sourcepub const POSITION_TRACKED: SpaceLocationFlags
pub const POSITION_TRACKED: SpaceLocationFlags
Indicates whether pose member contains an actively tracked position
sourceimpl SpaceLocationFlags
impl SpaceLocationFlags
pub const EMPTY: SpaceLocationFlags
pub fn from_raw(x: u64) -> SpaceLocationFlags
pub fn into_raw(self) -> u64
pub fn is_empty(self) -> bool
pub fn intersects(self, other: SpaceLocationFlags) -> bool
sourcepub fn contains(self, other: SpaceLocationFlags) -> bool
pub fn contains(self, other: SpaceLocationFlags) -> bool
Returns whether other is a subset of self
Trait Implementations
sourceimpl BitAnd<SpaceLocationFlags> for SpaceLocationFlags
impl BitAnd<SpaceLocationFlags> for SpaceLocationFlags
type Output = SpaceLocationFlags
type Output = SpaceLocationFlags
The resulting type after applying the & operator.
sourcepub fn bitand(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
pub fn bitand(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<SpaceLocationFlags> for SpaceLocationFlags
impl BitAndAssign<SpaceLocationFlags> for SpaceLocationFlags
sourcepub fn bitand_assign(&mut self, rhs: SpaceLocationFlags)
pub fn bitand_assign(&mut self, rhs: SpaceLocationFlags)
Performs the &= operation. Read more
sourceimpl BitOr<SpaceLocationFlags> for SpaceLocationFlags
impl BitOr<SpaceLocationFlags> for SpaceLocationFlags
type Output = SpaceLocationFlags
type Output = SpaceLocationFlags
The resulting type after applying the | operator.
sourcepub fn bitor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
pub fn bitor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<SpaceLocationFlags> for SpaceLocationFlags
impl BitOrAssign<SpaceLocationFlags> for SpaceLocationFlags
sourcepub fn bitor_assign(&mut self, rhs: SpaceLocationFlags)
pub fn bitor_assign(&mut self, rhs: SpaceLocationFlags)
Performs the |= operation. Read more
sourceimpl BitXor<SpaceLocationFlags> for SpaceLocationFlags
impl BitXor<SpaceLocationFlags> for SpaceLocationFlags
type Output = SpaceLocationFlags
type Output = SpaceLocationFlags
The resulting type after applying the ^ operator.
sourcepub fn bitxor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
pub fn bitxor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SpaceLocationFlags> for SpaceLocationFlags
impl BitXorAssign<SpaceLocationFlags> for SpaceLocationFlags
sourcepub fn bitxor_assign(&mut self, rhs: SpaceLocationFlags)
pub fn bitxor_assign(&mut self, rhs: SpaceLocationFlags)
Performs the ^= operation. Read more
sourceimpl Clone for SpaceLocationFlags
impl Clone for SpaceLocationFlags
sourcepub fn clone(&self) -> SpaceLocationFlags
pub fn clone(&self) -> SpaceLocationFlags
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 more
sourceimpl Debug for SpaceLocationFlags
impl Debug for SpaceLocationFlags
sourceimpl Default for SpaceLocationFlags
impl Default for SpaceLocationFlags
sourcepub fn default() -> SpaceLocationFlags
pub fn default() -> SpaceLocationFlags
Returns the “default value” for a type. Read more
sourceimpl Not for SpaceLocationFlags
impl Not for SpaceLocationFlags
type Output = SpaceLocationFlags
type Output = SpaceLocationFlags
The resulting type after applying the ! operator.
sourcepub fn not(self) -> SpaceLocationFlags
pub fn not(self) -> SpaceLocationFlags
Performs the unary ! operation. Read more
sourceimpl PartialEq<SpaceLocationFlags> for SpaceLocationFlags
impl PartialEq<SpaceLocationFlags> for SpaceLocationFlags
sourcepub fn eq(&self, other: &SpaceLocationFlags) -> bool
pub fn eq(&self, other: &SpaceLocationFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &SpaceLocationFlags) -> bool
pub fn ne(&self, other: &SpaceLocationFlags) -> bool
This method tests for !=.
impl Copy for SpaceLocationFlags
impl Eq for SpaceLocationFlags
impl StructuralEq for SpaceLocationFlags
impl StructuralPartialEq for SpaceLocationFlags
Auto Trait Implementations
impl RefUnwindSafe for SpaceLocationFlags
impl Send for SpaceLocationFlags
impl Sync for SpaceLocationFlags
impl Unpin for SpaceLocationFlags
impl UnwindSafe for SpaceLocationFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more