Struct erupt::vk1_0::ImageAspectFlagBits
source · #[repr(transparent)]pub struct ImageAspectFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of ImageAspectFlags
Tuple Fields
0: u32
Implementations
sourceimpl ImageAspectFlagBits
impl ImageAspectFlagBits
Provided by crate::extensions::ext_image_drm_format_modifier
pub const MEMORY_PLANE_0_EXT: Self = _
pub const MEMORY_PLANE_1_EXT: Self = _
pub const MEMORY_PLANE_2_EXT: Self = _
pub const MEMORY_PLANE_3_EXT: Self = _
sourceimpl ImageAspectFlagBits
impl ImageAspectFlagBits
Provided by crate::extensions::khr_maintenance4
sourceimpl ImageAspectFlagBits
impl ImageAspectFlagBits
Provided by crate::extensions::khr_sampler_ycbcr_conversion
pub const PLANE_0_KHR: Self = Self::PLANE_0
pub const PLANE_1_KHR: Self = Self::PLANE_1
pub const PLANE_2_KHR: Self = Self::PLANE_2
sourceimpl ImageAspectFlagBits
impl ImageAspectFlagBits
sourcepub const fn bitmask(&self) -> ImageAspectFlags
pub const fn bitmask(&self) -> ImageAspectFlags
Converts this enum variant to the corresponding bitmask
sourceimpl ImageAspectFlagBits
impl ImageAspectFlagBits
Provided by crate::vk1_0
sourceimpl ImageAspectFlagBits
impl ImageAspectFlagBits
Provided by crate::vk1_1
Trait Implementations
sourceimpl Clone for ImageAspectFlagBits
impl Clone for ImageAspectFlagBits
sourcefn clone(&self) -> ImageAspectFlagBits
fn clone(&self) -> ImageAspectFlagBits
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 ImageAspectFlagBits
impl Debug for ImageAspectFlagBits
sourceimpl Default for ImageAspectFlagBits
impl Default for ImageAspectFlagBits
sourcefn default() -> ImageAspectFlagBits
fn default() -> ImageAspectFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for ImageAspectFlagBits
impl Hash for ImageAspectFlagBits
sourceimpl Ord for ImageAspectFlagBits
impl Ord for ImageAspectFlagBits
sourcefn cmp(&self, other: &ImageAspectFlagBits) -> Ordering
fn cmp(&self, other: &ImageAspectFlagBits) -> 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<ImageAspectFlagBits> for ImageAspectFlagBits
impl PartialEq<ImageAspectFlagBits> for ImageAspectFlagBits
sourcefn eq(&self, other: &ImageAspectFlagBits) -> bool
fn eq(&self, other: &ImageAspectFlagBits) -> bool
sourceimpl PartialOrd<ImageAspectFlagBits> for ImageAspectFlagBits
impl PartialOrd<ImageAspectFlagBits> for ImageAspectFlagBits
sourcefn partial_cmp(&self, other: &ImageAspectFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageAspectFlagBits) -> 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 ImageAspectFlagBits
impl Eq for ImageAspectFlagBits
impl StructuralEq for ImageAspectFlagBits
impl StructuralPartialEq for ImageAspectFlagBits
Auto Trait Implementations
impl RefUnwindSafe for ImageAspectFlagBits
impl Send for ImageAspectFlagBits
impl Sync for ImageAspectFlagBits
impl Unpin for ImageAspectFlagBits
impl UnwindSafe for ImageAspectFlagBits
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