Struct openxr_sys::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: 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: 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.sourcefn bitand(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
fn bitand(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<SpaceLocationFlags> for SpaceLocationFlags
impl BitAndAssign<SpaceLocationFlags> for SpaceLocationFlags
sourcefn bitand_assign(&mut self, rhs: SpaceLocationFlags)
fn bitand_assign(&mut self, rhs: SpaceLocationFlags)
Performs the
&= operation. Read moresourceimpl BitOr<SpaceLocationFlags> for SpaceLocationFlags
impl BitOr<SpaceLocationFlags> for SpaceLocationFlags
type Output = SpaceLocationFlags
type Output = SpaceLocationFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
fn bitor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<SpaceLocationFlags> for SpaceLocationFlags
impl BitOrAssign<SpaceLocationFlags> for SpaceLocationFlags
sourcefn bitor_assign(&mut self, rhs: SpaceLocationFlags)
fn bitor_assign(&mut self, rhs: SpaceLocationFlags)
Performs the
|= operation. Read moresourceimpl BitXor<SpaceLocationFlags> for SpaceLocationFlags
impl BitXor<SpaceLocationFlags> for SpaceLocationFlags
type Output = SpaceLocationFlags
type Output = SpaceLocationFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
fn bitxor(self, rhs: SpaceLocationFlags) -> SpaceLocationFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<SpaceLocationFlags> for SpaceLocationFlags
impl BitXorAssign<SpaceLocationFlags> for SpaceLocationFlags
sourcefn bitxor_assign(&mut self, rhs: SpaceLocationFlags)
fn bitxor_assign(&mut self, rhs: SpaceLocationFlags)
Performs the
^= operation. Read moresourceimpl Clone for SpaceLocationFlags
impl Clone for SpaceLocationFlags
sourcefn clone(&self) -> SpaceLocationFlags
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 moresourceimpl Debug for SpaceLocationFlags
impl Debug for SpaceLocationFlags
sourceimpl Default for SpaceLocationFlags
impl Default for SpaceLocationFlags
sourceimpl Not for SpaceLocationFlags
impl Not for SpaceLocationFlags
type Output = SpaceLocationFlags
type Output = SpaceLocationFlags
The resulting type after applying the
! operator.sourcefn not(self) -> SpaceLocationFlags
fn not(self) -> SpaceLocationFlags
Performs the unary
! operation. Read moresourceimpl PartialEq<SpaceLocationFlags> for SpaceLocationFlags
impl PartialEq<SpaceLocationFlags> for SpaceLocationFlags
sourcefn eq(&self, other: &SpaceLocationFlags) -> bool
fn eq(&self, other: &SpaceLocationFlags) -> bool
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 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