Struct openxr_sys::CompositionLayerFlags
source · pub struct CompositionLayerFlags(/* private fields */);
Expand description
Implementations§
source§impl CompositionLayerFlags
impl CompositionLayerFlags
sourcepub const CORRECT_CHROMATIC_ABERRATION: CompositionLayerFlags = _
pub const CORRECT_CHROMATIC_ABERRATION: CompositionLayerFlags = _
Enables chromatic aberration correction when not done by default. This flag has no effect on any known conformant runtime, and is planned for deprecation for OpenXR 1.1
sourcepub const BLEND_TEXTURE_SOURCE_ALPHA: CompositionLayerFlags = _
pub const BLEND_TEXTURE_SOURCE_ALPHA: CompositionLayerFlags = _
Enables the layer texture alpha channel.
sourcepub const UNPREMULTIPLIED_ALPHA: CompositionLayerFlags = _
pub const UNPREMULTIPLIED_ALPHA: CompositionLayerFlags = _
Indicates the texture color channels have not been premultiplied by the texture alpha channel.
source§impl CompositionLayerFlags
impl CompositionLayerFlags
pub const EMPTY: Self = _
pub fn from_raw(x: u64) -> Self
pub fn into_raw(self) -> u64
pub fn is_empty(self) -> bool
pub fn intersects(self, other: CompositionLayerFlags) -> bool
sourcepub fn contains(self, other: CompositionLayerFlags) -> bool
pub fn contains(self, other: CompositionLayerFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations§
source§impl BitAnd for CompositionLayerFlags
impl BitAnd for CompositionLayerFlags
§type Output = CompositionLayerFlags
type Output = CompositionLayerFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: CompositionLayerFlags) -> CompositionLayerFlags
fn bitand(self, rhs: CompositionLayerFlags) -> CompositionLayerFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for CompositionLayerFlags
impl BitAndAssign for CompositionLayerFlags
source§fn bitand_assign(&mut self, rhs: CompositionLayerFlags)
fn bitand_assign(&mut self, rhs: CompositionLayerFlags)
Performs the
&=
operation. Read moresource§impl BitOr for CompositionLayerFlags
impl BitOr for CompositionLayerFlags
§type Output = CompositionLayerFlags
type Output = CompositionLayerFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: CompositionLayerFlags) -> CompositionLayerFlags
fn bitor(self, rhs: CompositionLayerFlags) -> CompositionLayerFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for CompositionLayerFlags
impl BitOrAssign for CompositionLayerFlags
source§fn bitor_assign(&mut self, rhs: CompositionLayerFlags)
fn bitor_assign(&mut self, rhs: CompositionLayerFlags)
Performs the
|=
operation. Read moresource§impl BitXor for CompositionLayerFlags
impl BitXor for CompositionLayerFlags
§type Output = CompositionLayerFlags
type Output = CompositionLayerFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: CompositionLayerFlags) -> CompositionLayerFlags
fn bitxor(self, rhs: CompositionLayerFlags) -> CompositionLayerFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for CompositionLayerFlags
impl BitXorAssign for CompositionLayerFlags
source§fn bitxor_assign(&mut self, rhs: CompositionLayerFlags)
fn bitxor_assign(&mut self, rhs: CompositionLayerFlags)
Performs the
^=
operation. Read moresource§impl Clone for CompositionLayerFlags
impl Clone for CompositionLayerFlags
source§fn clone(&self) -> CompositionLayerFlags
fn clone(&self) -> CompositionLayerFlags
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 CompositionLayerFlags
impl Debug for CompositionLayerFlags
source§impl Default for CompositionLayerFlags
impl Default for CompositionLayerFlags
source§impl Not for CompositionLayerFlags
impl Not for CompositionLayerFlags
§type Output = CompositionLayerFlags
type Output = CompositionLayerFlags
The resulting type after applying the
!
operator.source§fn not(self) -> CompositionLayerFlags
fn not(self) -> CompositionLayerFlags
Performs the unary
!
operation. Read moresource§impl PartialEq for CompositionLayerFlags
impl PartialEq for CompositionLayerFlags
source§fn eq(&self, other: &CompositionLayerFlags) -> bool
fn eq(&self, other: &CompositionLayerFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompositionLayerFlags
impl Eq for CompositionLayerFlags
impl StructuralPartialEq for CompositionLayerFlags
Auto Trait Implementations§
impl RefUnwindSafe for CompositionLayerFlags
impl Send for CompositionLayerFlags
impl Sync for CompositionLayerFlags
impl Unpin for CompositionLayerFlags
impl UnwindSafe for CompositionLayerFlags
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