Struct screen_13::prelude::vk::SparseImageFormatFlags
source · pub struct SparseImageFormatFlags(_);Expand description
Implementations§
source§impl SparseImageFormatFlags
impl SparseImageFormatFlags
pub const fn empty() -> SparseImageFormatFlags
pub const fn from_raw(x: u32) -> SparseImageFormatFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SparseImageFormatFlags) -> bool
sourcepub const fn contains(self, other: SparseImageFormatFlags) -> bool
pub const fn contains(self, other: SparseImageFormatFlags) -> bool
Returns whether other is a subset of self
source§impl SparseImageFormatFlags
impl SparseImageFormatFlags
sourcepub const SINGLE_MIPTAIL: SparseImageFormatFlags = Self(1)
pub const SINGLE_MIPTAIL: SparseImageFormatFlags = Self(1)
Image uses a single mip tail region for all array layers
sourcepub const ALIGNED_MIP_SIZE: SparseImageFormatFlags = Self(2)
pub const ALIGNED_MIP_SIZE: SparseImageFormatFlags = Self(2)
Image requires mip level dimensions to be an integer multiple of the sparse image block dimensions for non-tail mip levels.
sourcepub const NONSTANDARD_BLOCK_SIZE: SparseImageFormatFlags = Self(4)
pub const NONSTANDARD_BLOCK_SIZE: SparseImageFormatFlags = Self(4)
Image uses a non-standard sparse image block dimensions
Trait Implementations§
source§impl BitAnd<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitAnd<SparseImageFormatFlags> for SparseImageFormatFlags
§type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitand(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
& operation. Read moresource§impl BitAndAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitAndAssign<SparseImageFormatFlags> for SparseImageFormatFlags
source§fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
&= operation. Read moresource§impl BitOr<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitOr<SparseImageFormatFlags> for SparseImageFormatFlags
§type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
| operation. Read moresource§impl BitOrAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitOrAssign<SparseImageFormatFlags> for SparseImageFormatFlags
source§fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
|= operation. Read moresource§impl BitXor<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitXor<SparseImageFormatFlags> for SparseImageFormatFlags
§type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitxor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitXorAssign<SparseImageFormatFlags> for SparseImageFormatFlags
source§fn bitxor_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitxor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
^= operation. Read moresource§impl Clone for SparseImageFormatFlags
impl Clone for SparseImageFormatFlags
source§fn clone(&self) -> SparseImageFormatFlags
fn clone(&self) -> SparseImageFormatFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SparseImageFormatFlags
impl Debug for SparseImageFormatFlags
source§impl Default for SparseImageFormatFlags
impl Default for SparseImageFormatFlags
source§fn default() -> SparseImageFormatFlags
fn default() -> SparseImageFormatFlags
Returns the “default value” for a type. Read more
source§impl Hash for SparseImageFormatFlags
impl Hash for SparseImageFormatFlags
source§impl Not for SparseImageFormatFlags
impl Not for SparseImageFormatFlags
§type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
! operator.source§fn not(self) -> SparseImageFormatFlags
fn not(self) -> SparseImageFormatFlags
Performs the unary
! operation. Read moresource§impl Ord for SparseImageFormatFlags
impl Ord for SparseImageFormatFlags
source§fn cmp(&self, other: &SparseImageFormatFlags) -> Ordering
fn cmp(&self, other: &SparseImageFormatFlags) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq<SparseImageFormatFlags> for SparseImageFormatFlags
impl PartialEq<SparseImageFormatFlags> for SparseImageFormatFlags
source§fn eq(&self, other: &SparseImageFormatFlags) -> bool
fn eq(&self, other: &SparseImageFormatFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SparseImageFormatFlags> for SparseImageFormatFlags
impl PartialOrd<SparseImageFormatFlags> for SparseImageFormatFlags
source§fn partial_cmp(&self, other: &SparseImageFormatFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SparseImageFormatFlags) -> Option<Ordering>
1.0.0 · source§fn 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 more