Struct screen_13::prelude::vk::DisplayPlaneAlphaFlagsKHR
source · pub struct DisplayPlaneAlphaFlagsKHR(_);Expand description
Implementations§
source§impl 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
source§impl 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§
source§impl BitAnd<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitAnd<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
§type Output = DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
The resulting type after applying the
& operator.source§fn bitand(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
fn bitand(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
Performs the
& operation. Read moresource§impl BitAndAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitAndAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
source§fn bitand_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
fn bitand_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
Performs the
&= operation. Read moresource§impl BitOr<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitOr<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
§type Output = DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
The resulting type after applying the
| operator.source§fn bitor(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
fn bitor(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
Performs the
| operation. Read moresource§impl BitOrAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitOrAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
source§fn bitor_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
fn bitor_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
Performs the
|= operation. Read moresource§impl BitXor<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitXor<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
§type Output = DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
fn bitxor(self, rhs: DisplayPlaneAlphaFlagsKHR) -> DisplayPlaneAlphaFlagsKHR
Performs the
^ operation. Read moresource§impl BitXorAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl BitXorAssign<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
source§fn bitxor_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
fn bitxor_assign(&mut self, rhs: DisplayPlaneAlphaFlagsKHR)
Performs the
^= operation. Read moresource§impl Clone for DisplayPlaneAlphaFlagsKHR
impl Clone for DisplayPlaneAlphaFlagsKHR
source§fn clone(&self) -> DisplayPlaneAlphaFlagsKHR
fn clone(&self) -> DisplayPlaneAlphaFlagsKHR
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 DisplayPlaneAlphaFlagsKHR
impl Debug for DisplayPlaneAlphaFlagsKHR
source§impl Default for DisplayPlaneAlphaFlagsKHR
impl Default for DisplayPlaneAlphaFlagsKHR
source§fn default() -> DisplayPlaneAlphaFlagsKHR
fn default() -> DisplayPlaneAlphaFlagsKHR
Returns the “default value” for a type. Read more
source§impl Hash for DisplayPlaneAlphaFlagsKHR
impl Hash for DisplayPlaneAlphaFlagsKHR
source§impl Not for DisplayPlaneAlphaFlagsKHR
impl Not for DisplayPlaneAlphaFlagsKHR
§type Output = DisplayPlaneAlphaFlagsKHR
type Output = DisplayPlaneAlphaFlagsKHR
The resulting type after applying the
! operator.source§fn not(self) -> DisplayPlaneAlphaFlagsKHR
fn not(self) -> DisplayPlaneAlphaFlagsKHR
Performs the unary
! operation. Read moresource§impl Ord for DisplayPlaneAlphaFlagsKHR
impl Ord for DisplayPlaneAlphaFlagsKHR
source§fn cmp(&self, other: &DisplayPlaneAlphaFlagsKHR) -> Ordering
fn cmp(&self, other: &DisplayPlaneAlphaFlagsKHR) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl PartialEq<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
source§fn 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 ==.source§impl PartialOrd<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
impl PartialOrd<DisplayPlaneAlphaFlagsKHR> for DisplayPlaneAlphaFlagsKHR
source§fn partial_cmp(&self, other: &DisplayPlaneAlphaFlagsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayPlaneAlphaFlagsKHR) -> Option<Ordering>
1.0.0 · source§fn 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