[][src]Struct openxr_sys::CompositionLayerFlags

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

Implementations

impl CompositionLayerFlags[src]

pub const CORRECT_CHROMATIC_ABERRATION: CompositionLayerFlags[src]

Enables chromatic aberration correction when not done by default.

pub const BLEND_TEXTURE_SOURCE_ALPHA: CompositionLayerFlags[src]

Enables the layer texture alpha channel.

pub const UNPREMULTIPLIED_ALPHA: CompositionLayerFlags[src]

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

impl CompositionLayerFlags[src]

pub const EMPTY: Self[src]

pub fn from_raw(x: u64) -> Self[src]

pub fn into_raw(self) -> u64[src]

pub fn is_empty(self) -> bool[src]

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

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

Returns whether other is a subset of self

Trait Implementations

impl BitAnd<CompositionLayerFlags> for CompositionLayerFlags[src]

type Output = CompositionLayerFlags

The resulting type after applying the & operator.

impl BitAndAssign<CompositionLayerFlags> for CompositionLayerFlags[src]

impl BitOr<CompositionLayerFlags> for CompositionLayerFlags[src]

type Output = CompositionLayerFlags

The resulting type after applying the | operator.

impl BitOrAssign<CompositionLayerFlags> for CompositionLayerFlags[src]

impl BitXor<CompositionLayerFlags> for CompositionLayerFlags[src]

type Output = CompositionLayerFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<CompositionLayerFlags> for CompositionLayerFlags[src]

impl Clone for CompositionLayerFlags[src]

impl Copy for CompositionLayerFlags[src]

impl Debug for CompositionLayerFlags[src]

impl Default for CompositionLayerFlags[src]

impl Eq for CompositionLayerFlags[src]

impl Not for CompositionLayerFlags[src]

type Output = CompositionLayerFlags

The resulting type after applying the ! operator.

impl PartialEq<CompositionLayerFlags> for CompositionLayerFlags[src]

impl StructuralEq for CompositionLayerFlags[src]

impl StructuralPartialEq for CompositionLayerFlags[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> 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, 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.