[][src]Struct ash::vk::ImageUsageFlags

#[repr(transparent)]pub struct ImageUsageFlags(_);

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageUsageFlagBits.html

Methods

impl ImageUsageFlags[src]

pub const fn empty() -> ImageUsageFlags[src]

pub const fn all() -> ImageUsageFlags[src]

pub const fn from_raw(x: Flags) -> Self[src]

pub const fn as_raw(self) -> Flags[src]

pub fn is_empty(self) -> bool[src]

pub fn is_all(self) -> bool[src]

pub fn intersects(self, other: ImageUsageFlags) -> bool[src]

pub fn contains(self, other: ImageUsageFlags) -> bool[src]

Returns whether other is a subset of self

impl ImageUsageFlags[src]

pub const TRANSFER_SRC: Self[src]

Can be used as a source of transfer operations

pub const TRANSFER_DST: Self[src]

Can be used as a destination of transfer operations

pub const SAMPLED: Self[src]

Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)

pub const STORAGE: Self[src]

Can be used as storage image (STORAGE_IMAGE descriptor type)

pub const COLOR_ATTACHMENT: Self[src]

Can be used as framebuffer color attachment

pub const DEPTH_STENCIL_ATTACHMENT: Self[src]

Can be used as framebuffer depth/stencil attachment

pub const TRANSIENT_ATTACHMENT: Self[src]

Image data not needed outside of rendering

pub const INPUT_ATTACHMENT: Self[src]

Can be used as framebuffer input attachment

impl ImageUsageFlags[src]

Generated from 'VK_AMD_extension_24'

pub const RESERVED_13_KHR: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_AMD_extension_24'

pub const RESERVED_14_KHR: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_AMD_extension_24'

pub const RESERVED_15_KHR: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_AMD_extension_25'

pub const RESERVED_10_KHR: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_AMD_extension_25'

pub const RESERVED_11_KHR: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_AMD_extension_25'

pub const RESERVED_12_KHR: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_NV_shading_rate_image'

pub const SHADING_RATE_IMAGE_NV: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_QCOM_extension_173'

pub const RESERVED_16_QCOM: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_QCOM_extension_173'

pub const RESERVED_17_QCOM: Self[src]

impl ImageUsageFlags[src]

Generated from 'VK_EXT_fragment_density_map'

pub const FRAGMENT_DENSITY_MAP_EXT: Self[src]

Trait Implementations

impl BitAnd<ImageUsageFlags> for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the & operator.

impl BitAndAssign<ImageUsageFlags> for ImageUsageFlags[src]

impl BitOr<ImageUsageFlags> for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the | operator.

impl BitOrAssign<ImageUsageFlags> for ImageUsageFlags[src]

impl BitXor<ImageUsageFlags> for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<ImageUsageFlags> for ImageUsageFlags[src]

impl Clone for ImageUsageFlags[src]

impl Copy for ImageUsageFlags[src]

impl Debug for ImageUsageFlags[src]

impl Default for ImageUsageFlags[src]

impl Eq for ImageUsageFlags[src]

impl Hash for ImageUsageFlags[src]

impl Not for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the ! operator.

impl Ord for ImageUsageFlags[src]

impl PartialEq<ImageUsageFlags> for ImageUsageFlags[src]

impl PartialOrd<ImageUsageFlags> for ImageUsageFlags[src]

impl StructuralEq for ImageUsageFlags[src]

impl StructuralPartialEq for ImageUsageFlags[src]

impl Sub<ImageUsageFlags> for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the - operator.

impl SubAssign<ImageUsageFlags> for ImageUsageFlags[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.