Struct screen_13::prelude::vk::ImageAspectFlags
source · pub struct ImageAspectFlags(_);Expand description
Implementations
sourceimpl 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
sourceimpl 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)
sourceimpl 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
sourceimpl 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)
sourceimpl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_KHR_maintenance4’
pub const NONE_KHR: ImageAspectFlags = Self::NONE
sourceimpl 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)
sourceimpl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_VERSION_1_3’
pub const NONE: ImageAspectFlags = Self(0)
Trait Implementations
sourceimpl BitAnd<ImageAspectFlags> for ImageAspectFlags
impl BitAnd<ImageAspectFlags> for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitand(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<ImageAspectFlags> for ImageAspectFlags
impl BitAndAssign<ImageAspectFlags> for ImageAspectFlags
sourcefn bitand_assign(&mut self, rhs: ImageAspectFlags)
fn bitand_assign(&mut self, rhs: ImageAspectFlags)
Performs the
&= operation. Read moresourceimpl BitOr<ImageAspectFlags> for ImageAspectFlags
impl BitOr<ImageAspectFlags> for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<ImageAspectFlags> for ImageAspectFlags
impl BitOrAssign<ImageAspectFlags> for ImageAspectFlags
sourcefn bitor_assign(&mut self, rhs: ImageAspectFlags)
fn bitor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
|= operation. Read moresourceimpl BitXor<ImageAspectFlags> for ImageAspectFlags
impl BitXor<ImageAspectFlags> for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitxor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<ImageAspectFlags> for ImageAspectFlags
impl BitXorAssign<ImageAspectFlags> for ImageAspectFlags
sourcefn bitxor_assign(&mut self, rhs: ImageAspectFlags)
fn bitxor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
^= operation. Read moresourceimpl Clone for ImageAspectFlags
impl Clone for ImageAspectFlags
sourcefn clone(&self) -> ImageAspectFlags
fn clone(&self) -> ImageAspectFlags
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 ImageAspectFlags
impl Debug for ImageAspectFlags
sourceimpl Default for ImageAspectFlags
impl Default for ImageAspectFlags
sourcefn default() -> ImageAspectFlags
fn default() -> ImageAspectFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for ImageAspectFlags
impl Hash for ImageAspectFlags
sourceimpl Not for ImageAspectFlags
impl Not for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
! operator.sourcefn not(self) -> ImageAspectFlags
fn not(self) -> ImageAspectFlags
Performs the unary
! operation. Read moresourceimpl Ord for ImageAspectFlags
impl Ord for ImageAspectFlags
sourcefn cmp(&self, other: &ImageAspectFlags) -> Ordering
fn cmp(&self, other: &ImageAspectFlags) -> 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<ImageAspectFlags> for ImageAspectFlags
impl PartialEq<ImageAspectFlags> for ImageAspectFlags
sourcefn eq(&self, other: &ImageAspectFlags) -> bool
fn eq(&self, other: &ImageAspectFlags) -> bool
sourceimpl PartialOrd<ImageAspectFlags> for ImageAspectFlags
impl PartialOrd<ImageAspectFlags> for ImageAspectFlags
sourcefn partial_cmp(&self, other: &ImageAspectFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageAspectFlags) -> 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 ImageAspectFlags
impl Eq for ImageAspectFlags
impl StructuralEq for ImageAspectFlags
impl StructuralPartialEq for ImageAspectFlags
Auto Trait Implementations
impl RefUnwindSafe for ImageAspectFlags
impl Send for ImageAspectFlags
impl Sync for ImageAspectFlags
impl Unpin for ImageAspectFlags
impl UnwindSafe for ImageAspectFlags
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