Struct screen_13::prelude::vk::ImageAspectFlags
source · pub struct ImageAspectFlags(_);Expand description
Implementations§
source§impl ImageAspectFlags
impl ImageAspectFlags
pub const fn empty() -> ImageAspectFlags
pub const fn from_raw(x: u32) -> ImageAspectFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ImageAspectFlags) -> bool
sourcepub const fn contains(self, other: ImageAspectFlags) -> bool
pub const fn contains(self, other: ImageAspectFlags) -> bool
Returns whether other is a subset of self
source§impl ImageAspectFlags
impl ImageAspectFlags
pub const COLOR: ImageAspectFlags = Self(1)
pub const DEPTH: ImageAspectFlags = Self(2)
pub const STENCIL: ImageAspectFlags = Self(4)
pub const METADATA: ImageAspectFlags = Self(8)
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const PLANE_0_KHR: ImageAspectFlags = Self::PLANE_0
pub const PLANE_1_KHR: ImageAspectFlags = Self::PLANE_1
pub const PLANE_2_KHR: ImageAspectFlags = Self::PLANE_2
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_EXT_image_drm_format_modifier’
pub const MEMORY_PLANE_0_EXT: ImageAspectFlags = Self(128)
pub const MEMORY_PLANE_1_EXT: ImageAspectFlags = Self(256)
pub const MEMORY_PLANE_2_EXT: ImageAspectFlags = Self(512)
pub const MEMORY_PLANE_3_EXT: ImageAspectFlags = Self(1024)
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_KHR_maintenance4’
pub const NONE_KHR: ImageAspectFlags = Self::NONE
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_VERSION_1_1’
pub const PLANE_0: ImageAspectFlags = Self(16)
pub const PLANE_1: ImageAspectFlags = Self(32)
pub const PLANE_2: ImageAspectFlags = Self(64)
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_VERSION_1_3’
pub const NONE: ImageAspectFlags = Self(0)
Trait Implementations§
source§impl BitAnd<ImageAspectFlags> for ImageAspectFlags
impl BitAnd<ImageAspectFlags> for ImageAspectFlags
§type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitand(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
& operation. Read moresource§impl BitAndAssign<ImageAspectFlags> for ImageAspectFlags
impl BitAndAssign<ImageAspectFlags> for ImageAspectFlags
source§fn bitand_assign(&mut self, rhs: ImageAspectFlags)
fn bitand_assign(&mut self, rhs: ImageAspectFlags)
Performs the
&= operation. Read moresource§impl BitOr<ImageAspectFlags> for ImageAspectFlags
impl BitOr<ImageAspectFlags> for ImageAspectFlags
§type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
| operation. Read moresource§impl BitOrAssign<ImageAspectFlags> for ImageAspectFlags
impl BitOrAssign<ImageAspectFlags> for ImageAspectFlags
source§fn bitor_assign(&mut self, rhs: ImageAspectFlags)
fn bitor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
|= operation. Read moresource§impl BitXor<ImageAspectFlags> for ImageAspectFlags
impl BitXor<ImageAspectFlags> for ImageAspectFlags
§type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitxor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<ImageAspectFlags> for ImageAspectFlags
impl BitXorAssign<ImageAspectFlags> for ImageAspectFlags
source§fn bitxor_assign(&mut self, rhs: ImageAspectFlags)
fn bitxor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
^= operation. Read moresource§impl Clone for ImageAspectFlags
impl Clone for ImageAspectFlags
source§fn clone(&self) -> ImageAspectFlags
fn clone(&self) -> ImageAspectFlags
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 ImageAspectFlags
impl Debug for ImageAspectFlags
source§impl Default for ImageAspectFlags
impl Default for ImageAspectFlags
source§fn default() -> ImageAspectFlags
fn default() -> ImageAspectFlags
Returns the “default value” for a type. Read more
source§impl Hash for ImageAspectFlags
impl Hash for ImageAspectFlags
source§impl Not for ImageAspectFlags
impl Not for ImageAspectFlags
§type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
! operator.source§fn not(self) -> ImageAspectFlags
fn not(self) -> ImageAspectFlags
Performs the unary
! operation. Read moresource§impl Ord for ImageAspectFlags
impl Ord for ImageAspectFlags
source§fn cmp(&self, other: &ImageAspectFlags) -> Ordering
fn cmp(&self, other: &ImageAspectFlags) -> 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<ImageAspectFlags> for ImageAspectFlags
impl PartialEq<ImageAspectFlags> for ImageAspectFlags
source§fn eq(&self, other: &ImageAspectFlags) -> bool
fn eq(&self, other: &ImageAspectFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ImageAspectFlags> for ImageAspectFlags
impl PartialOrd<ImageAspectFlags> for ImageAspectFlags
source§fn partial_cmp(&self, other: &ImageAspectFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageAspectFlags) -> 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