[]Struct openxr::CompositionLayerFlags

#[repr(transparent)]
pub struct CompositionLayerFlags(_);

Methods

impl CompositionLayerFlags

pub const CORRECT_CHROMATIC_ABERRATION: CompositionLayerFlags

Enables chromatic aberration correction when not done by default.

pub const BLEND_TEXTURE_SOURCE_ALPHA: CompositionLayerFlags

Enables the layer texture alpha channel.

pub const UNPREMULTIPLIED_ALPHA: CompositionLayerFlags

Indicates the texture color channels have not been premultiplied by the texture alpha channel.

impl CompositionLayerFlags

pub const EMPTY: CompositionLayerFlags

pub fn from_raw(x: u64) -> CompositionLayerFlags

pub fn into_raw(self) -> u64

pub fn is_empty(self) -> bool

pub fn intersects(self, other: CompositionLayerFlags) -> bool

pub fn contains(self, other: CompositionLayerFlags) -> bool

Returns whether other is a subset of self

Trait Implementations

impl PartialEq<CompositionLayerFlags> for CompositionLayerFlags

impl Not for CompositionLayerFlags

type Output = CompositionLayerFlags

The resulting type after applying the ! operator.

impl BitXor<CompositionLayerFlags> for CompositionLayerFlags

type Output = CompositionLayerFlags

The resulting type after applying the ^ operator.

impl BitOrAssign<CompositionLayerFlags> for CompositionLayerFlags

impl Copy for CompositionLayerFlags

impl BitAndAssign<CompositionLayerFlags> for CompositionLayerFlags

impl Default for CompositionLayerFlags

impl Debug for CompositionLayerFlags

impl BitXorAssign<CompositionLayerFlags> for CompositionLayerFlags

impl Clone for CompositionLayerFlags

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

Performs copy-assignment from source. Read more

impl Eq for CompositionLayerFlags

impl BitAnd<CompositionLayerFlags> for CompositionLayerFlags

type Output = CompositionLayerFlags

The resulting type after applying the & operator.

impl BitOr<CompositionLayerFlags> for CompositionLayerFlags

type Output = CompositionLayerFlags

The resulting type after applying the | operator.

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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<T> for T

type Output = T

Should always be Self

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