Struct ash::vk::ImageUsageFlags
source · [−]#[repr(transparent)]pub struct ImageUsageFlags(_);
Expand description
Implementations
sourceimpl ImageUsageFlags
impl ImageUsageFlags
sourceimpl ImageUsageFlags
impl ImageUsageFlags
sourcepub const TRANSFER_SRC: Self
pub const TRANSFER_SRC: Self
Can be used as a source of transfer operations
sourcepub const TRANSFER_DST: Self
pub const TRANSFER_DST: Self
Can be used as a destination of transfer operations
sourcepub const SAMPLED: Self
pub const SAMPLED: Self
Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
sourcepub const COLOR_ATTACHMENT: Self
pub const COLOR_ATTACHMENT: Self
Can be used as framebuffer color attachment
sourcepub const DEPTH_STENCIL_ATTACHMENT: Self
pub const DEPTH_STENCIL_ATTACHMENT: Self
Can be used as framebuffer depth/stencil attachment
sourcepub const TRANSIENT_ATTACHMENT: Self
pub const TRANSIENT_ATTACHMENT: Self
Image data not needed outside of rendering
sourcepub const INPUT_ATTACHMENT: Self
pub const INPUT_ATTACHMENT: Self
Can be used as framebuffer input attachment
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_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 ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_NV_shading_rate_image’
pub const SHADING_RATE_IMAGE_NV: Self
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_QCOM_extension_173’
pub const RESERVED_16_QCOM: Self
pub const RESERVED_17_QCOM: Self
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: Self
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_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 ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_extension_340’
pub const RESERVED_19_EXT: Self
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_HUAWEI_invocation_mask’
pub const INVOCATION_MASK_HUAWEI: Self
sourceimpl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_QCOM_extension_441’
pub const RESERVED_20_QCOM: Self
pub const RESERVED_21_QCOM: Self
Trait Implementations
sourceimpl BitAnd<ImageUsageFlags> for ImageUsageFlags
impl BitAnd<ImageUsageFlags> for ImageUsageFlags
sourceimpl BitAndAssign<ImageUsageFlags> for ImageUsageFlags
impl BitAndAssign<ImageUsageFlags> for ImageUsageFlags
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the &=
operation. Read more
sourceimpl BitOr<ImageUsageFlags> for ImageUsageFlags
impl BitOr<ImageUsageFlags> for ImageUsageFlags
sourceimpl BitOrAssign<ImageUsageFlags> for ImageUsageFlags
impl BitOrAssign<ImageUsageFlags> for ImageUsageFlags
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the |=
operation. Read more
sourceimpl BitXor<ImageUsageFlags> for ImageUsageFlags
impl BitXor<ImageUsageFlags> for ImageUsageFlags
sourceimpl BitXorAssign<ImageUsageFlags> for ImageUsageFlags
impl BitXorAssign<ImageUsageFlags> for ImageUsageFlags
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the ^=
operation. Read more
sourceimpl Clone for ImageUsageFlags
impl Clone for ImageUsageFlags
sourcefn clone(&self) -> ImageUsageFlags
fn clone(&self) -> ImageUsageFlags
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 ImageUsageFlags
impl Debug for ImageUsageFlags
sourceimpl Default for ImageUsageFlags
impl Default for ImageUsageFlags
sourceimpl Hash for ImageUsageFlags
impl Hash for ImageUsageFlags
sourceimpl Not for ImageUsageFlags
impl Not for ImageUsageFlags
sourceimpl Ord for ImageUsageFlags
impl Ord for ImageUsageFlags
sourceimpl PartialEq<ImageUsageFlags> for ImageUsageFlags
impl PartialEq<ImageUsageFlags> for ImageUsageFlags
sourcefn eq(&self, other: &ImageUsageFlags) -> bool
fn eq(&self, other: &ImageUsageFlags) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImageUsageFlags) -> bool
fn ne(&self, other: &ImageUsageFlags) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ImageUsageFlags> for ImageUsageFlags
impl PartialOrd<ImageUsageFlags> for ImageUsageFlags
sourcefn partial_cmp(&self, other: &ImageUsageFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageUsageFlags) -> 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 ImageUsageFlags
impl Eq for ImageUsageFlags
impl StructuralEq for ImageUsageFlags
impl StructuralPartialEq for ImageUsageFlags
Auto Trait Implementations
impl RefUnwindSafe for ImageUsageFlags
impl Send for ImageUsageFlags
impl Sync for ImageUsageFlags
impl Unpin for ImageUsageFlags
impl UnwindSafe for ImageUsageFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more