pub struct ImageAspectFlags(/* private fields */);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
pub const DEPTH: ImageAspectFlags
pub const STENCIL: ImageAspectFlags
pub const METADATA: ImageAspectFlags
Source§impl ImageAspectFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
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
Generated from ‘VK_EXT_image_drm_format_modifier’
impl ImageAspectFlags
Generated from ‘VK_EXT_image_drm_format_modifier’
pub const MEMORY_PLANE_0_EXT: ImageAspectFlags
pub const MEMORY_PLANE_1_EXT: ImageAspectFlags
pub const MEMORY_PLANE_2_EXT: ImageAspectFlags
pub const MEMORY_PLANE_3_EXT: ImageAspectFlags
Source§impl ImageAspectFlags
Generated from ‘VK_KHR_maintenance4’
impl ImageAspectFlags
Generated from ‘VK_KHR_maintenance4’
pub const NONE_KHR: ImageAspectFlags = Self::NONE
Source§impl ImageAspectFlags
Generated from ‘VK_VERSION_1_1’
impl ImageAspectFlags
Generated from ‘VK_VERSION_1_1’
pub const PLANE_0: ImageAspectFlags
pub const PLANE_1: ImageAspectFlags
pub const PLANE_2: ImageAspectFlags
Source§impl ImageAspectFlags
Generated from ‘VK_VERSION_1_3’
impl ImageAspectFlags
Generated from ‘VK_VERSION_1_3’
pub const NONE: ImageAspectFlags
Trait Implementations§
Source§impl BitAnd for ImageAspectFlags
impl BitAnd for ImageAspectFlags
Source§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 for ImageAspectFlags
impl BitAndAssign for ImageAspectFlags
Source§fn bitand_assign(&mut self, rhs: ImageAspectFlags)
fn bitand_assign(&mut self, rhs: ImageAspectFlags)
Performs the
&= operation. Read moreSource§impl BitOr for ImageAspectFlags
impl BitOr for ImageAspectFlags
Source§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 for ImageAspectFlags
impl BitOrAssign for ImageAspectFlags
Source§fn bitor_assign(&mut self, rhs: ImageAspectFlags)
fn bitor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
|= operation. Read moreSource§impl BitXor for ImageAspectFlags
impl BitXor for ImageAspectFlags
Source§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 for ImageAspectFlags
impl BitXorAssign 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
Source§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 for ImageAspectFlags
impl PartialEq for ImageAspectFlags
Source§impl PartialOrd for ImageAspectFlags
impl PartialOrd for ImageAspectFlags
impl Copy for ImageAspectFlags
impl Eq for ImageAspectFlags
impl StructuralPartialEq for ImageAspectFlags
Auto Trait Implementations§
impl Freeze for ImageAspectFlags
impl RefUnwindSafe for ImageAspectFlags
impl Send for ImageAspectFlags
impl Sync for ImageAspectFlags
impl Unpin for ImageAspectFlags
impl UnwindSafe for ImageAspectFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more