pub struct ViewStateFlags(/* private fields */);
Expand description
Implementations§
Source§impl ViewStateFlags
impl ViewStateFlags
Sourcepub const ORIENTATION_VALID: ViewStateFlags
pub const ORIENTATION_VALID: ViewStateFlags
Indicates validity of all XrView orientations
Sourcepub const POSITION_VALID: ViewStateFlags
pub const POSITION_VALID: ViewStateFlags
Indicates validity of all XrView positions
Sourcepub const ORIENTATION_TRACKED: ViewStateFlags
pub const ORIENTATION_TRACKED: ViewStateFlags
Indicates whether all XrView orientations are actively tracked
Sourcepub const POSITION_TRACKED: ViewStateFlags
pub const POSITION_TRACKED: ViewStateFlags
Indicates whether all XrView positions are actively tracked
Source§impl ViewStateFlags
impl ViewStateFlags
pub const EMPTY: ViewStateFlags
pub fn from_raw(x: u64) -> ViewStateFlags
pub fn into_raw(self) -> u64
pub fn is_empty(self) -> bool
pub fn intersects(self, other: ViewStateFlags) -> bool
Sourcepub fn contains(self, other: ViewStateFlags) -> bool
pub fn contains(self, other: ViewStateFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations§
Source§impl BitAnd for ViewStateFlags
impl BitAnd for ViewStateFlags
Source§type Output = ViewStateFlags
type Output = ViewStateFlags
The resulting type after applying the
&
operator.Source§fn bitand(self, rhs: ViewStateFlags) -> ViewStateFlags
fn bitand(self, rhs: ViewStateFlags) -> ViewStateFlags
Performs the
&
operation. Read moreSource§impl BitAndAssign for ViewStateFlags
impl BitAndAssign for ViewStateFlags
Source§fn bitand_assign(&mut self, rhs: ViewStateFlags)
fn bitand_assign(&mut self, rhs: ViewStateFlags)
Performs the
&=
operation. Read moreSource§impl BitOr for ViewStateFlags
impl BitOr for ViewStateFlags
Source§type Output = ViewStateFlags
type Output = ViewStateFlags
The resulting type after applying the
|
operator.Source§fn bitor(self, rhs: ViewStateFlags) -> ViewStateFlags
fn bitor(self, rhs: ViewStateFlags) -> ViewStateFlags
Performs the
|
operation. Read moreSource§impl BitOrAssign for ViewStateFlags
impl BitOrAssign for ViewStateFlags
Source§fn bitor_assign(&mut self, rhs: ViewStateFlags)
fn bitor_assign(&mut self, rhs: ViewStateFlags)
Performs the
|=
operation. Read moreSource§impl BitXor for ViewStateFlags
impl BitXor for ViewStateFlags
Source§type Output = ViewStateFlags
type Output = ViewStateFlags
The resulting type after applying the
^
operator.Source§fn bitxor(self, rhs: ViewStateFlags) -> ViewStateFlags
fn bitxor(self, rhs: ViewStateFlags) -> ViewStateFlags
Performs the
^
operation. Read moreSource§impl BitXorAssign for ViewStateFlags
impl BitXorAssign for ViewStateFlags
Source§fn bitxor_assign(&mut self, rhs: ViewStateFlags)
fn bitxor_assign(&mut self, rhs: ViewStateFlags)
Performs the
^=
operation. Read moreSource§impl Clone for ViewStateFlags
impl Clone for ViewStateFlags
Source§fn clone(&self) -> ViewStateFlags
fn clone(&self) -> ViewStateFlags
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 ViewStateFlags
impl Debug for ViewStateFlags
Source§impl Default for ViewStateFlags
impl Default for ViewStateFlags
Source§fn default() -> ViewStateFlags
fn default() -> ViewStateFlags
Returns the “default value” for a type. Read more
Source§impl Not for ViewStateFlags
impl Not for ViewStateFlags
Source§type Output = ViewStateFlags
type Output = ViewStateFlags
The resulting type after applying the
!
operator.Source§fn not(self) -> ViewStateFlags
fn not(self) -> ViewStateFlags
Performs the unary
!
operation. Read moreSource§impl PartialEq for ViewStateFlags
impl PartialEq for ViewStateFlags
impl Copy for ViewStateFlags
impl Eq for ViewStateFlags
impl StructuralPartialEq for ViewStateFlags
Auto Trait Implementations§
impl Freeze for ViewStateFlags
impl RefUnwindSafe for ViewStateFlags
impl Send for ViewStateFlags
impl Sync for ViewStateFlags
impl Unpin for ViewStateFlags
impl UnwindSafe for ViewStateFlags
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