pub struct SparseImageFormatFlags(_);Expand description
Implementations
sourceimpl 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
sourceimpl 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
sourceimpl BitAnd<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitAnd<SparseImageFormatFlags> for SparseImageFormatFlags
type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitand(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitAndAssign<SparseImageFormatFlags> for SparseImageFormatFlags
sourcefn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
&= operation. Read moresourceimpl BitOr<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitOr<SparseImageFormatFlags> for SparseImageFormatFlags
type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitOrAssign<SparseImageFormatFlags> for SparseImageFormatFlags
sourcefn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
|= operation. Read moresourceimpl BitXor<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitXor<SparseImageFormatFlags> for SparseImageFormatFlags
type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
fn bitxor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitXorAssign<SparseImageFormatFlags> for SparseImageFormatFlags
sourcefn bitxor_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitxor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
^= operation. Read moresourceimpl Clone for SparseImageFormatFlags
impl Clone for SparseImageFormatFlags
sourcefn clone(&self) -> SparseImageFormatFlags
fn clone(&self) -> SparseImageFormatFlags
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SparseImageFormatFlags
impl Debug for SparseImageFormatFlags
sourceimpl Default for SparseImageFormatFlags
impl Default for SparseImageFormatFlags
sourcefn default() -> SparseImageFormatFlags
fn default() -> SparseImageFormatFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for SparseImageFormatFlags
impl Hash for SparseImageFormatFlags
sourceimpl Not for SparseImageFormatFlags
impl Not for SparseImageFormatFlags
type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the
! operator.sourcefn not(self) -> SparseImageFormatFlags
fn not(self) -> SparseImageFormatFlags
Performs the unary
! operation. Read moresourceimpl Ord for SparseImageFormatFlags
impl Ord for SparseImageFormatFlags
sourcefn cmp(&self, other: &SparseImageFormatFlags) -> Ordering
fn cmp(&self, other: &SparseImageFormatFlags) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SparseImageFormatFlags> for SparseImageFormatFlags
impl PartialEq<SparseImageFormatFlags> for SparseImageFormatFlags
sourcefn eq(&self, other: &SparseImageFormatFlags) -> bool
fn eq(&self, other: &SparseImageFormatFlags) -> bool
sourceimpl PartialOrd<SparseImageFormatFlags> for SparseImageFormatFlags
impl PartialOrd<SparseImageFormatFlags> for SparseImageFormatFlags
sourcefn partial_cmp(&self, other: &SparseImageFormatFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SparseImageFormatFlags) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moreimpl Copy for SparseImageFormatFlags
impl Eq for SparseImageFormatFlags
impl StructuralEq for SparseImageFormatFlags
impl StructuralPartialEq for SparseImageFormatFlags
Auto Trait Implementations
impl RefUnwindSafe for SparseImageFormatFlags
impl Send for SparseImageFormatFlags
impl Sync for SparseImageFormatFlags
impl Unpin for SparseImageFormatFlags
impl UnwindSafe for SparseImageFormatFlags
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