[−][src]Struct ash::vk::ImageUsageFlags
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]
fn default() -> ImageUsageFlags
[src]
impl Eq for ImageUsageFlags
[src]
impl Clone for ImageUsageFlags
[src]
fn clone(&self) -> 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]
fn partial_cmp(&self, other: &ImageUsageFlags) -> Option<Ordering>
[src]
fn lt(&self, other: &ImageUsageFlags) -> bool
[src]
fn le(&self, other: &ImageUsageFlags) -> bool
[src]
fn gt(&self, other: &ImageUsageFlags) -> bool
[src]
fn ge(&self, other: &ImageUsageFlags) -> bool
[src]
impl PartialEq<ImageUsageFlags> for ImageUsageFlags
[src]
fn eq(&self, other: &ImageUsageFlags) -> bool
[src]
fn ne(&self, other: &ImageUsageFlags) -> bool
[src]
impl Ord for ImageUsageFlags
[src]
fn cmp(&self, other: &ImageUsageFlags) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl Hash for ImageUsageFlags
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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.
fn sub(self, rhs: ImageUsageFlags) -> ImageUsageFlags
[src]
impl SubAssign<ImageUsageFlags> for ImageUsageFlags
[src]
fn sub_assign(&mut self, rhs: ImageUsageFlags)
[src]
impl Not for ImageUsageFlags
[src]
type Output = ImageUsageFlags
The resulting type after applying the !
operator.
fn not(self) -> ImageUsageFlags
[src]
impl BitAnd<ImageUsageFlags> for ImageUsageFlags
[src]
type Output = ImageUsageFlags
The resulting type after applying the &
operator.
fn bitand(self, rhs: ImageUsageFlags) -> ImageUsageFlags
[src]
impl BitOr<ImageUsageFlags> for ImageUsageFlags
[src]
type Output = ImageUsageFlags
The resulting type after applying the |
operator.
fn bitor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
[src]
impl BitXor<ImageUsageFlags> for ImageUsageFlags
[src]
type Output = ImageUsageFlags
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: ImageUsageFlags) -> ImageUsageFlags
[src]
impl BitAndAssign<ImageUsageFlags> for ImageUsageFlags
[src]
fn bitand_assign(&mut self, rhs: ImageUsageFlags)
[src]
impl BitOrAssign<ImageUsageFlags> for ImageUsageFlags
[src]
fn bitor_assign(&mut self, rhs: ImageUsageFlags)
[src]
impl BitXorAssign<ImageUsageFlags> for ImageUsageFlags
[src]
fn bitxor_assign(&mut self, rhs: 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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,