Struct erupt::vk1_0::ImageUsageFlagBits
source · #[repr(transparent)]pub struct ImageUsageFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of ImageUsageFlags
Tuple Fields
0: u32
Implementations
sourceimpl ImageUsageFlagBits
impl ImageUsageFlagBits
Provided by crate::extensions::ext_fragment_density_map
pub const FRAGMENT_DENSITY_MAP_EXT: Self = _
sourceimpl ImageUsageFlagBits
impl ImageUsageFlagBits
Provided by crate::extensions::huawei_invocation_mask
pub const INVOCATION_MASK_HUAWEI: Self = _
sourceimpl ImageUsageFlagBits
impl ImageUsageFlagBits
Provided by crate::extensions::khr_fragment_shading_rate
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self = _
sourceimpl ImageUsageFlagBits
impl ImageUsageFlagBits
Provided by crate::extensions::khr_video_decode_queue
pub const VIDEO_DECODE_DST_KHR: Self = _
pub const VIDEO_DECODE_SRC_KHR: Self = _
pub const VIDEO_DECODE_DPB_KHR: Self = _
sourceimpl ImageUsageFlagBits
impl ImageUsageFlagBits
Provided by crate::extensions::khr_video_encode_queue
pub const VIDEO_ENCODE_DST_KHR: Self = _
pub const VIDEO_ENCODE_SRC_KHR: Self = _
pub const VIDEO_ENCODE_DPB_KHR: Self = _
sourceimpl ImageUsageFlagBits
impl ImageUsageFlagBits
Provided by crate::extensions::nv_shading_rate_image
pub const SHADING_RATE_IMAGE_NV: Self = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR
sourceimpl ImageUsageFlagBits
impl ImageUsageFlagBits
sourcepub const fn bitmask(&self) -> ImageUsageFlags
pub const fn bitmask(&self) -> ImageUsageFlags
Converts this enum variant to the corresponding bitmask
sourceimpl ImageUsageFlagBits
impl ImageUsageFlagBits
Provided by crate::vk1_0
pub const TRANSFER_SRC: Self = _
pub const TRANSFER_DST: Self = _
pub const SAMPLED: Self = _
pub const STORAGE: Self = _
pub const COLOR_ATTACHMENT: Self = _
pub const DEPTH_STENCIL_ATTACHMENT: Self = _
pub const TRANSIENT_ATTACHMENT: Self = _
pub const INPUT_ATTACHMENT: Self = _
Trait Implementations
sourceimpl Clone for ImageUsageFlagBits
impl Clone for ImageUsageFlagBits
sourcefn clone(&self) -> ImageUsageFlagBits
fn clone(&self) -> ImageUsageFlagBits
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 ImageUsageFlagBits
impl Debug for ImageUsageFlagBits
sourceimpl Default for ImageUsageFlagBits
impl Default for ImageUsageFlagBits
sourcefn default() -> ImageUsageFlagBits
fn default() -> ImageUsageFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for ImageUsageFlagBits
impl Hash for ImageUsageFlagBits
sourceimpl Ord for ImageUsageFlagBits
impl Ord for ImageUsageFlagBits
sourcefn cmp(&self, other: &ImageUsageFlagBits) -> Ordering
fn cmp(&self, other: &ImageUsageFlagBits) -> 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<ImageUsageFlagBits> for ImageUsageFlagBits
impl PartialEq<ImageUsageFlagBits> for ImageUsageFlagBits
sourcefn eq(&self, other: &ImageUsageFlagBits) -> bool
fn eq(&self, other: &ImageUsageFlagBits) -> bool
sourceimpl PartialOrd<ImageUsageFlagBits> for ImageUsageFlagBits
impl PartialOrd<ImageUsageFlagBits> for ImageUsageFlagBits
sourcefn partial_cmp(&self, other: &ImageUsageFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageUsageFlagBits) -> 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 ImageUsageFlagBits
impl Eq for ImageUsageFlagBits
impl StructuralEq for ImageUsageFlagBits
impl StructuralPartialEq for ImageUsageFlagBits
Auto Trait Implementations
impl RefUnwindSafe for ImageUsageFlagBits
impl Send for ImageUsageFlagBits
impl Sync for ImageUsageFlagBits
impl Unpin for ImageUsageFlagBits
impl UnwindSafe for ImageUsageFlagBits
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