Struct openxr::SpaceLocationFlags 
source · pub struct SpaceLocationFlags(/* private fields */);Expand description
Implementations§
source§impl 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
source§impl 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§
source§impl BitAnd for SpaceLocationFlags
 
impl BitAnd for SpaceLocationFlags
§type Output = SpaceLocationFlags
 
type Output = SpaceLocationFlags
The resulting type after applying the 
& operator.source§fn bitand(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
 
fn bitand(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the 
& operation. Read moresource§impl BitAndAssign for SpaceLocationFlags
 
impl BitAndAssign for SpaceLocationFlags
source§fn bitand_assign(&mut self, rhs: SpaceLocationFlags)
 
fn bitand_assign(&mut self, rhs: SpaceLocationFlags)
Performs the 
&= operation. Read moresource§impl BitOr for SpaceLocationFlags
 
impl BitOr for SpaceLocationFlags
§type Output = SpaceLocationFlags
 
type Output = SpaceLocationFlags
The resulting type after applying the 
| operator.source§fn bitor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
 
fn bitor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the 
| operation. Read moresource§impl BitOrAssign for SpaceLocationFlags
 
impl BitOrAssign for SpaceLocationFlags
source§fn bitor_assign(&mut self, rhs: SpaceLocationFlags)
 
fn bitor_assign(&mut self, rhs: SpaceLocationFlags)
Performs the 
|= operation. Read moresource§impl BitXor for SpaceLocationFlags
 
impl BitXor for SpaceLocationFlags
§type Output = SpaceLocationFlags
 
type Output = SpaceLocationFlags
The resulting type after applying the 
^ operator.source§fn bitxor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
 
fn bitxor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the 
^ operation. Read moresource§impl BitXorAssign for SpaceLocationFlags
 
impl BitXorAssign for SpaceLocationFlags
source§fn bitxor_assign(&mut self, rhs: SpaceLocationFlags)
 
fn bitxor_assign(&mut self, rhs: SpaceLocationFlags)
Performs the 
^= operation. Read moresource§impl Clone for SpaceLocationFlags
 
impl Clone for SpaceLocationFlags
source§fn clone(&self) -> SpaceLocationFlags
 
fn clone(&self) -> SpaceLocationFlags
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 SpaceLocationFlags
 
impl Debug for SpaceLocationFlags
source§impl Default for SpaceLocationFlags
 
impl Default for SpaceLocationFlags
source§fn default() -> SpaceLocationFlags
 
fn default() -> SpaceLocationFlags
Returns the “default value” for a type. Read more
source§impl Not for SpaceLocationFlags
 
impl Not for SpaceLocationFlags
§type Output = SpaceLocationFlags
 
type Output = SpaceLocationFlags
The resulting type after applying the 
! operator.source§fn not(self) -> SpaceLocationFlags
 
fn not(self) -> SpaceLocationFlags
Performs the unary 
! operation. Read moresource§impl PartialEq for SpaceLocationFlags
 
impl PartialEq for SpaceLocationFlags
source§fn eq(&self, other: &SpaceLocationFlags) -> bool
 
fn eq(&self, other: &SpaceLocationFlags) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for SpaceLocationFlags
impl Eq 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§
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