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

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

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

Methods

impl ImageUsageFlags[src]

pub fn empty() -> ImageUsageFlags[src]

pub fn all() -> ImageUsageFlags[src]

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

pub 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_EXT_fragment_density_map'

pub const FRAGMENT_DENSITY_MAP_EXT: Self[src]

Trait Implementations

impl Copy for ImageUsageFlags[src]

impl Default for ImageUsageFlags[src]

impl Eq for ImageUsageFlags[src]

impl Clone for ImageUsageFlags[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<ImageUsageFlags> for ImageUsageFlags[src]

impl PartialEq<ImageUsageFlags> for ImageUsageFlags[src]

impl Ord for ImageUsageFlags[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Hash for ImageUsageFlags[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug 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]

impl Not for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the ! operator.

impl BitAnd<ImageUsageFlags> for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the & operator.

impl BitOr<ImageUsageFlags> for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the | operator.

impl BitXor<ImageUsageFlags> for ImageUsageFlags[src]

type Output = ImageUsageFlags

The resulting type after applying the ^ operator.

impl BitAndAssign<ImageUsageFlags> for ImageUsageFlags[src]

impl BitOrAssign<ImageUsageFlags> for ImageUsageFlags[src]

impl BitXorAssign<ImageUsageFlags> for ImageUsageFlags[src]

Auto Trait Implementations

impl Unpin for ImageUsageFlags

impl Sync for ImageUsageFlags

impl Send for ImageUsageFlags

impl UnwindSafe for ImageUsageFlags

impl RefUnwindSafe for ImageUsageFlags

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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