#[repr(transparent)]pub struct DisplayPlaneAlphaFlagsKHR(_);Expand description
Implementations
sourceimpl DisplayPlaneAlphaFlagsKHR
impl DisplayPlaneAlphaFlagsKHR
pub const fn empty() -> DisplayPlaneAlphaFlagsKHR
pub const fn from_raw(x: u32) -> DisplayPlaneAlphaFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: DisplayPlaneAlphaFlagsKHR) -> bool
sourcepub const fn contains(self, other: DisplayPlaneAlphaFlagsKHR) -> bool
pub const fn contains(self, other: DisplayPlaneAlphaFlagsKHR) -> bool
Returns whether other is a subset of self
sourceimpl DisplayPlaneAlphaFlagsKHR
impl DisplayPlaneAlphaFlagsKHR
pub const OPAQUE: DisplayPlaneAlphaFlagsKHR = Self(1)
pub const GLOBAL: DisplayPlaneAlphaFlagsKHR = Self(2)
pub const PER_PIXEL: DisplayPlaneAlphaFlagsKHR = Self(4)
pub const PER_PIXEL_PREMULTIPLIED: DisplayPlaneAlphaFlagsKHR = Self(8)
Trait Implementations
sourceimpl BitAnd<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitAnd<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
fn bitand(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
Performs the & operation. Read more
sourceimpl BitAndAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitAndAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
sourcefn bitand_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
fn bitand_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
Performs the &= operation. Read more
sourceimpl BitOr<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitOr<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
fn bitor(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
Performs the | operation. Read more
sourceimpl BitOrAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitOrAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
sourcefn bitor_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
fn bitor_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
Performs the |= operation. Read more
sourceimpl BitXor<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitXor<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
fn bitxor(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
Performs the ^ operation. Read more
sourceimpl BitXorAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitXorAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
sourcefn bitxor_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
fn bitxor_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
Performs the ^= operation. Read more
sourceimpl Clone for DisplayPlaneAlphaFlagsKHR
impl Clone for DisplayPlaneAlphaFlagsKHR
sourcefn clone(&self) -> DisplayPlaneAlphaFlagsKHR
fn clone(&self) -> DisplayPlaneAlphaFlagsKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DisplayPlaneAlphaFlagsKHR
impl Debug for DisplayPlaneAlphaFlagsKHR
sourceimpl Default for DisplayPlaneAlphaFlagsKHR
impl Default for DisplayPlaneAlphaFlagsKHR
sourcefn default() -> DisplayPlaneAlphaFlagsKHR
fn default() -> DisplayPlaneAlphaFlagsKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for DisplayPlaneAlphaFlagsKHR
impl Hash for DisplayPlaneAlphaFlagsKHR
sourceimpl Not for DisplayPlaneAlphaFlagsKHR
impl Not for DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
The resulting type after applying the ! operator.
sourcefn not(self) -> DisplayPlaneAlphaFlagsKHR
fn not(self) -> DisplayPlaneAlphaFlagsKHR
Performs the unary ! operation. Read more
sourceimpl Ord for DisplayPlaneAlphaFlagsKHR
impl Ord for DisplayPlaneAlphaFlagsKHR
sourceimpl PartialEq<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl PartialEq<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
sourcefn eq(&self, other: &DisplayPlaneAlphaFlagsKHR) -> bool
fn eq(&self, other: &DisplayPlaneAlphaFlagsKHR) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DisplayPlaneAlphaFlagsKHR) -> bool
fn ne(&self, other: &DisplayPlaneAlphaFlagsKHR) -> bool
This method tests for !=.
sourceimpl PartialOrd<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl PartialOrd<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
sourcefn partial_cmp(&self, other: &DisplayPlaneAlphaFlagsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayPlaneAlphaFlagsKHR) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for DisplayPlaneAlphaFlagsKHR
impl Eq for DisplayPlaneAlphaFlagsKHR
impl StructuralEq for DisplayPlaneAlphaFlagsKHR
impl StructuralPartialEq for DisplayPlaneAlphaFlagsKHR
Auto Trait Implementations
impl RefUnwindSafe for DisplayPlaneAlphaFlagsKHR
impl Send for DisplayPlaneAlphaFlagsKHR
impl Sync for DisplayPlaneAlphaFlagsKHR
impl Unpin for DisplayPlaneAlphaFlagsKHR
impl UnwindSafe for DisplayPlaneAlphaFlagsKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more