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: 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§
Source§impl BitAnd for SpaceLocationFlags
impl BitAnd for SpaceLocationFlags
Source§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
Source§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
Source§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 duplicate 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§impl Not for SpaceLocationFlags
impl Not for SpaceLocationFlags
Source§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
impl Copy for SpaceLocationFlags
impl Eq for SpaceLocationFlags
impl StructuralPartialEq for SpaceLocationFlags
Auto Trait Implementations§
impl Freeze for SpaceLocationFlags
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