Struct ash::vk::ImageCreateFlags
source · #[repr(transparent)]pub struct ImageCreateFlags(_);
Implementations
sourceimpl ImageCreateFlags
impl ImageCreateFlags
pub fn empty() -> ImageCreateFlags
pub fn all() -> ImageCreateFlags
pub fn from_raw(x: Flags) -> Self
pub fn as_raw(self) -> Flags
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: ImageCreateFlags) -> bool
sourcepub fn contains(self, other: ImageCreateFlags) -> bool
pub fn contains(self, other: ImageCreateFlags) -> bool
Returns whether other
is a subset of self
sourceimpl ImageCreateFlags
impl ImageCreateFlags
sourcepub const SPARSE_BINDING: Self = _
pub const SPARSE_BINDING: Self = _
Image should support sparse backing
sourcepub const SPARSE_RESIDENCY: Self = _
pub const SPARSE_RESIDENCY: Self = _
Image should support sparse backing with partial residency
sourcepub const SPARSE_ALIASED: Self = _
pub const SPARSE_ALIASED: Self = _
Image should support constent data access to physical memory ranges mapped into multiple locations of sparse images
sourcepub const MUTABLE_FORMAT: Self = _
pub const MUTABLE_FORMAT: Self = _
Allows image views to have different format than the base image
sourcepub const CUBE_COMPATIBLE: Self = _
pub const CUBE_COMPATIBLE: Self = _
Allows creating image views with cube type from the created image
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_EXT_sample_locations’
pub const SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_EXT: Self = _
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_VERSION_1_1’
pub const SPLIT_INSTANCE_BIND_REGIONS: Self = _
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_VERSION_1_1’
pub const TYPE_2D_ARRAY_COMPATIBLE: Self = _
sourceimpl ImageCreateFlags
impl ImageCreateFlags
Generated from ‘VK_VERSION_1_1’
pub const BLOCK_TEXEL_VIEW_COMPATIBLE: Self = _
Trait Implementations
sourceimpl BitAnd<ImageCreateFlags> for ImageCreateFlags
impl BitAnd<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
The resulting type after applying the
&
operator.sourcefn bitand(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitand(self, rhs: ImageCreateFlags) -> ImageCreateFlags
Performs the
&
operation. Read moresourceimpl BitAndAssign<ImageCreateFlags> for ImageCreateFlags
impl BitAndAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitand_assign(&mut self, rhs: ImageCreateFlags)
fn bitand_assign(&mut self, rhs: ImageCreateFlags)
Performs the
&=
operation. Read moresourceimpl BitOr<ImageCreateFlags> for ImageCreateFlags
impl BitOr<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
The resulting type after applying the
|
operator.sourcefn bitor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
Performs the
|
operation. Read moresourceimpl BitOrAssign<ImageCreateFlags> for ImageCreateFlags
impl BitOrAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitor_assign(&mut self, rhs: ImageCreateFlags)
fn bitor_assign(&mut self, rhs: ImageCreateFlags)
Performs the
|=
operation. Read moresourceimpl BitXor<ImageCreateFlags> for ImageCreateFlags
impl BitXor<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
The resulting type after applying the
^
operator.sourcefn bitxor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn bitxor(self, rhs: ImageCreateFlags) -> ImageCreateFlags
Performs the
^
operation. Read moresourceimpl BitXorAssign<ImageCreateFlags> for ImageCreateFlags
impl BitXorAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn bitxor_assign(&mut self, rhs: ImageCreateFlags)
fn bitxor_assign(&mut self, rhs: ImageCreateFlags)
Performs the
^=
operation. Read moresourceimpl Clone for ImageCreateFlags
impl Clone for ImageCreateFlags
sourcefn clone(&self) -> ImageCreateFlags
fn clone(&self) -> ImageCreateFlags
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 moresourceimpl Debug for ImageCreateFlags
impl Debug for ImageCreateFlags
sourceimpl Default for ImageCreateFlags
impl Default for ImageCreateFlags
sourcefn default() -> ImageCreateFlags
fn default() -> ImageCreateFlags
Returns the “default value” for a type. Read more
sourceimpl Display for ImageCreateFlags
impl Display for ImageCreateFlags
sourceimpl Hash for ImageCreateFlags
impl Hash for ImageCreateFlags
sourceimpl Not for ImageCreateFlags
impl Not for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
The resulting type after applying the
!
operator.sourcefn not(self) -> ImageCreateFlags
fn not(self) -> ImageCreateFlags
Performs the unary
!
operation. Read moresourceimpl Ord for ImageCreateFlags
impl Ord for ImageCreateFlags
sourcefn cmp(&self, other: &ImageCreateFlags) -> Ordering
fn cmp(&self, other: &ImageCreateFlags) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ImageCreateFlags> for ImageCreateFlags
impl PartialEq<ImageCreateFlags> for ImageCreateFlags
sourcefn eq(&self, other: &ImageCreateFlags) -> bool
fn eq(&self, other: &ImageCreateFlags) -> bool
sourceimpl PartialOrd<ImageCreateFlags> for ImageCreateFlags
impl PartialOrd<ImageCreateFlags> for ImageCreateFlags
sourcefn partial_cmp(&self, other: &ImageCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageCreateFlags) -> Option<Ordering>
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 moresourceimpl Sub<ImageCreateFlags> for ImageCreateFlags
impl Sub<ImageCreateFlags> for ImageCreateFlags
type Output = ImageCreateFlags
type Output = ImageCreateFlags
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: ImageCreateFlags) -> ImageCreateFlags
fn sub(self, rhs: ImageCreateFlags) -> ImageCreateFlags
Performs the
-
operation. Read moresourceimpl SubAssign<ImageCreateFlags> for ImageCreateFlags
impl SubAssign<ImageCreateFlags> for ImageCreateFlags
sourcefn sub_assign(&mut self, rhs: ImageCreateFlags)
fn sub_assign(&mut self, rhs: ImageCreateFlags)
Performs the
-=
operation. Read moreimpl Copy for ImageCreateFlags
impl Eq for ImageCreateFlags
impl StructuralEq for ImageCreateFlags
impl StructuralPartialEq for ImageCreateFlags
Auto Trait Implementations
impl RefUnwindSafe for ImageCreateFlags
impl Send for ImageCreateFlags
impl Sync for ImageCreateFlags
impl Unpin for ImageCreateFlags
impl UnwindSafe for ImageCreateFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more