[]Struct openxr::ViewStateFlags

#[repr(transparent)]
pub struct 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 BitAnd<ViewStateFlags> for ViewStateFlags

type Output = ViewStateFlags

The resulting type after applying the & operator.

impl Clone for ViewStateFlags

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl BitOrAssign<ViewStateFlags> for ViewStateFlags

impl BitAndAssign<ViewStateFlags> for ViewStateFlags

impl BitOr<ViewStateFlags> for ViewStateFlags

type Output = ViewStateFlags

The resulting type after applying the | operator.

impl Eq for ViewStateFlags

impl BitXor<ViewStateFlags> for ViewStateFlags

type Output = ViewStateFlags

The resulting type after applying the ^ operator.

impl PartialEq<ViewStateFlags> for ViewStateFlags

impl Default for ViewStateFlags

impl Debug for ViewStateFlags

impl Not for ViewStateFlags

type Output = ViewStateFlags

The resulting type after applying the ! operator.

impl BitXorAssign<ViewStateFlags> for ViewStateFlags

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

fn is<T>() -> bool where
    T: Scalar
[src]

Tests if Self the same as the type T Read more

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,