#[repr(transparent)]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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl Ord for ImageAspectFlags
impl Ord for ImageAspectFlags
sourceimpl PartialEq<ImageAspectFlags> for ImageAspectFlags
impl PartialEq<ImageAspectFlags> for ImageAspectFlags
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ImageAspectFlags) -> bool
fn ne(&self, other: &ImageAspectFlags) -> bool
This method tests for !=.
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>
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 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 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