Struct screen_13::prelude::vk::ImageUsageFlags
source · pub struct ImageUsageFlags(/* private fields */);
Expand description
Implementations§
source§impl ImageUsageFlags
impl ImageUsageFlags
pub const fn empty() -> ImageUsageFlags
pub const fn from_raw(x: u32) -> ImageUsageFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ImageUsageFlags) -> bool
sourcepub const fn contains(self, other: ImageUsageFlags) -> bool
pub const fn contains(self, other: ImageUsageFlags) -> bool
Returns whether other
is a subset of self
source§impl ImageUsageFlags
impl ImageUsageFlags
sourcepub const TRANSFER_SRC: ImageUsageFlags = _
pub const TRANSFER_SRC: ImageUsageFlags = _
Can be used as a source of transfer operations
sourcepub const TRANSFER_DST: ImageUsageFlags = _
pub const TRANSFER_DST: ImageUsageFlags = _
Can be used as a destination of transfer operations
sourcepub const SAMPLED: ImageUsageFlags = _
pub const SAMPLED: ImageUsageFlags = _
Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
sourcepub const STORAGE: ImageUsageFlags = _
pub const STORAGE: ImageUsageFlags = _
Can be used as storage image (STORAGE_IMAGE descriptor type)
sourcepub const COLOR_ATTACHMENT: ImageUsageFlags = _
pub const COLOR_ATTACHMENT: ImageUsageFlags = _
Can be used as framebuffer color attachment
sourcepub const DEPTH_STENCIL_ATTACHMENT: ImageUsageFlags = _
pub const DEPTH_STENCIL_ATTACHMENT: ImageUsageFlags = _
Can be used as framebuffer depth/stencil attachment
sourcepub const TRANSIENT_ATTACHMENT: ImageUsageFlags = _
pub const TRANSIENT_ATTACHMENT: ImageUsageFlags = _
Image data not needed outside of rendering
sourcepub const INPUT_ATTACHMENT: ImageUsageFlags = _
pub const INPUT_ATTACHMENT: ImageUsageFlags = _
Can be used as framebuffer input attachment
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_DST_KHR: ImageUsageFlags = _
pub const VIDEO_DECODE_SRC_KHR: ImageUsageFlags = _
pub const VIDEO_DECODE_DPB_KHR: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_NV_shading_rate_image’
pub const SHADING_RATE_IMAGE_NV: ImageUsageFlags = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_QCOM_extension_173’
pub const RESERVED_16_QCOM: ImageUsageFlags = _
pub const RESERVED_17_QCOM: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_INTEL_extension_271’
pub const RESERVED_22_EXT: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_DST_KHR: ImageUsageFlags = _
pub const VIDEO_ENCODE_SRC_KHR: ImageUsageFlags = _
pub const VIDEO_ENCODE_DPB_KHR: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_attachment_feedback_loop_layout’
pub const ATTACHMENT_FEEDBACK_LOOP_EXT: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_HUAWEI_invocation_mask’
pub const INVOCATION_MASK_HUAWEI: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_QCOM_image_processing’
pub const SAMPLE_WEIGHT_QCOM: ImageUsageFlags = _
pub const SAMPLE_BLOCK_MATCH_QCOM: ImageUsageFlags = _
source§impl ImageUsageFlags
impl ImageUsageFlags
Generated from ‘VK_EXT_extension_461’
pub const RESERVED_23_EXT: ImageUsageFlags = _
Trait Implementations§
source§impl BitAnd for ImageUsageFlags
impl BitAnd for ImageUsageFlags
§type Output = ImageUsageFlags
type Output = ImageUsageFlags
&
operator.source§fn bitand(self, rhs: ImageUsageFlags) -> ImageUsageFlags
fn bitand(self, rhs: ImageUsageFlags) -> ImageUsageFlags
&
operation. Read moresource§impl BitAndAssign for ImageUsageFlags
impl BitAndAssign for ImageUsageFlags
source§fn bitand_assign(&mut self, rhs: ImageUsageFlags)
fn bitand_assign(&mut self, rhs: ImageUsageFlags)
&=
operation. Read moresource§impl BitOr for ImageUsageFlags
impl BitOr for ImageUsageFlags
§type Output = ImageUsageFlags
type Output = ImageUsageFlags
|
operator.source§fn bitor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
fn bitor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
|
operation. Read moresource§impl BitOrAssign for ImageUsageFlags
impl BitOrAssign for ImageUsageFlags
source§fn bitor_assign(&mut self, rhs: ImageUsageFlags)
fn bitor_assign(&mut self, rhs: ImageUsageFlags)
|=
operation. Read moresource§impl BitXor for ImageUsageFlags
impl BitXor for ImageUsageFlags
§type Output = ImageUsageFlags
type Output = ImageUsageFlags
^
operator.source§fn bitxor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
fn bitxor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
^
operation. Read moresource§impl BitXorAssign for ImageUsageFlags
impl BitXorAssign for ImageUsageFlags
source§fn bitxor_assign(&mut self, rhs: ImageUsageFlags)
fn bitxor_assign(&mut self, rhs: ImageUsageFlags)
^=
operation. Read moresource§impl Clone for ImageUsageFlags
impl Clone for ImageUsageFlags
source§fn clone(&self) -> ImageUsageFlags
fn clone(&self) -> ImageUsageFlags
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageUsageFlags
impl Debug for ImageUsageFlags
source§impl Default for ImageUsageFlags
impl Default for ImageUsageFlags
source§fn default() -> ImageUsageFlags
fn default() -> ImageUsageFlags
source§impl Hash for ImageUsageFlags
impl Hash for ImageUsageFlags
source§impl Not for ImageUsageFlags
impl Not for ImageUsageFlags
§type Output = ImageUsageFlags
type Output = ImageUsageFlags
!
operator.source§fn not(self) -> ImageUsageFlags
fn not(self) -> ImageUsageFlags
!
operation. Read moresource§impl Ord for ImageUsageFlags
impl Ord for ImageUsageFlags
source§fn cmp(&self, other: &ImageUsageFlags) -> Ordering
fn cmp(&self, other: &ImageUsageFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ImageUsageFlags
impl PartialEq for ImageUsageFlags
source§fn eq(&self, other: &ImageUsageFlags) -> bool
fn eq(&self, other: &ImageUsageFlags) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageUsageFlags
impl PartialOrd for ImageUsageFlags
source§fn partial_cmp(&self, other: &ImageUsageFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageUsageFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ImageUsageFlags
impl Eq 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§
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.