Struct erupt::extensions::khr_display::DisplayPlaneAlphaFlagBitsKHR
source · #[repr(transparent)]pub struct DisplayPlaneAlphaFlagBitsKHR(pub u32);
Expand description
Vulkan Manual Page · Bits enum of DisplayPlaneAlphaFlagsKHR
Tuple Fields
0: u32
Implementations
sourceimpl DisplayPlaneAlphaFlagBitsKHR
impl DisplayPlaneAlphaFlagBitsKHR
sourcepub const fn bitmask(&self) -> DisplayPlaneAlphaFlagsKHR
pub const fn bitmask(&self) -> DisplayPlaneAlphaFlagsKHR
Converts this enum variant to the corresponding bitmask
sourceimpl DisplayPlaneAlphaFlagBitsKHR
impl DisplayPlaneAlphaFlagBitsKHR
Provided by crate::extensions::khr_display
pub const OPAQUE_KHR: Self = _
pub const GLOBAL_KHR: Self = _
pub const PER_PIXEL_KHR: Self = _
pub const PER_PIXEL_PREMULTIPLIED_KHR: Self = _
Trait Implementations
sourceimpl Clone for DisplayPlaneAlphaFlagBitsKHR
impl Clone for DisplayPlaneAlphaFlagBitsKHR
sourcefn clone(&self) -> DisplayPlaneAlphaFlagBitsKHR
fn clone(&self) -> DisplayPlaneAlphaFlagBitsKHR
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 moresourceimpl Debug for DisplayPlaneAlphaFlagBitsKHR
impl Debug for DisplayPlaneAlphaFlagBitsKHR
sourceimpl Default for DisplayPlaneAlphaFlagBitsKHR
impl Default for DisplayPlaneAlphaFlagBitsKHR
sourcefn default() -> DisplayPlaneAlphaFlagBitsKHR
fn default() -> DisplayPlaneAlphaFlagBitsKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for DisplayPlaneAlphaFlagBitsKHR
impl Hash for DisplayPlaneAlphaFlagBitsKHR
sourceimpl Ord for DisplayPlaneAlphaFlagBitsKHR
impl Ord for DisplayPlaneAlphaFlagBitsKHR
sourcefn cmp(&self, other: &DisplayPlaneAlphaFlagBitsKHR) -> Ordering
fn cmp(&self, other: &DisplayPlaneAlphaFlagBitsKHR) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DisplayPlaneAlphaFlagBitsKHR> for DisplayPlaneAlphaFlagBitsKHR
impl PartialEq<DisplayPlaneAlphaFlagBitsKHR> for DisplayPlaneAlphaFlagBitsKHR
sourcefn eq(&self, other: &DisplayPlaneAlphaFlagBitsKHR) -> bool
fn eq(&self, other: &DisplayPlaneAlphaFlagBitsKHR) -> bool
sourceimpl PartialOrd<DisplayPlaneAlphaFlagBitsKHR> for DisplayPlaneAlphaFlagBitsKHR
impl PartialOrd<DisplayPlaneAlphaFlagBitsKHR> for DisplayPlaneAlphaFlagBitsKHR
sourcefn partial_cmp(&self, other: &DisplayPlaneAlphaFlagBitsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayPlaneAlphaFlagBitsKHR) -> Option<Ordering>
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 moreimpl Copy for DisplayPlaneAlphaFlagBitsKHR
impl Eq for DisplayPlaneAlphaFlagBitsKHR
impl StructuralEq for DisplayPlaneAlphaFlagBitsKHR
impl StructuralPartialEq for DisplayPlaneAlphaFlagBitsKHR
Auto Trait Implementations
impl RefUnwindSafe for DisplayPlaneAlphaFlagBitsKHR
impl Send for DisplayPlaneAlphaFlagBitsKHR
impl Sync for DisplayPlaneAlphaFlagBitsKHR
impl Unpin for DisplayPlaneAlphaFlagBitsKHR
impl UnwindSafe for DisplayPlaneAlphaFlagBitsKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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