[−]Struct openxr::ViewStateFlags
Methods
impl ViewStateFlags
pub const ORIENTATION_VALID: ViewStateFlags
Indicates validity of all XrView orientations
pub const POSITION_VALID: ViewStateFlags
Indicates validity of all XrView positions
pub const ORIENTATION_TRACKED: ViewStateFlags
Indicates whether all XrView orientations are actively tracked
pub const POSITION_TRACKED: ViewStateFlags
Indicates whether all XrView positions are actively tracked
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
pub fn contains(self, other: ViewStateFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations
impl Copy for ViewStateFlags
impl BitOr<ViewStateFlags> for ViewStateFlags
type Output = ViewStateFlags
The resulting type after applying the |
operator.
fn bitor(self, rhs: ViewStateFlags) -> ViewStateFlags
impl Eq for ViewStateFlags
impl Default for ViewStateFlags
fn default() -> ViewStateFlags
impl PartialEq<ViewStateFlags> for ViewStateFlags
fn eq(&self, other: &ViewStateFlags) -> bool
fn ne(&self, other: &ViewStateFlags) -> bool
impl BitXor<ViewStateFlags> for ViewStateFlags
type Output = ViewStateFlags
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: ViewStateFlags) -> ViewStateFlags
impl BitXorAssign<ViewStateFlags> for ViewStateFlags
fn bitxor_assign(&mut self, rhs: ViewStateFlags)
impl Not for ViewStateFlags
type Output = ViewStateFlags
The resulting type after applying the !
operator.
fn not(self) -> ViewStateFlags
impl BitOrAssign<ViewStateFlags> for ViewStateFlags
fn bitor_assign(&mut self, rhs: ViewStateFlags)
impl Clone for ViewStateFlags
fn clone(&self) -> ViewStateFlags
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BitAnd<ViewStateFlags> for ViewStateFlags
type Output = ViewStateFlags
The resulting type after applying the &
operator.
fn bitand(self, rhs: ViewStateFlags) -> ViewStateFlags
impl BitAndAssign<ViewStateFlags> for ViewStateFlags
fn bitand_assign(&mut self, rhs: ViewStateFlags)
impl Debug for ViewStateFlags
Auto Trait Implementations
impl Send for ViewStateFlags
impl Sync for ViewStateFlags
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,