pub struct SparseImageFormatFlags(/* private fields */);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
pub const SINGLE_MIPTAIL: SparseImageFormatFlags
Image uses a single mip tail region for all array layers
Sourcepub const ALIGNED_MIP_SIZE: SparseImageFormatFlags
pub const ALIGNED_MIP_SIZE: SparseImageFormatFlags
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
pub const NONSTANDARD_BLOCK_SIZE: SparseImageFormatFlags
Image uses a non-standard sparse image block dimensions
Trait Implementations§
Source§impl BitAnd for SparseImageFormatFlags
impl BitAnd for SparseImageFormatFlags
Source§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 for SparseImageFormatFlags
impl BitAndAssign for SparseImageFormatFlags
Source§fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
&= operation. Read moreSource§impl BitOr for SparseImageFormatFlags
impl BitOr for SparseImageFormatFlags
Source§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 for SparseImageFormatFlags
impl BitOrAssign for SparseImageFormatFlags
Source§fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the
|= operation. Read moreSource§impl BitXor for SparseImageFormatFlags
impl BitXor for SparseImageFormatFlags
Source§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 for SparseImageFormatFlags
impl BitXorAssign 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 duplicate of the value. Read more
1.0.0§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
Source§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§impl PartialEq for SparseImageFormatFlags
impl PartialEq for SparseImageFormatFlags
Source§impl PartialOrd for SparseImageFormatFlags
impl PartialOrd for SparseImageFormatFlags
impl Copy for SparseImageFormatFlags
impl Eq for SparseImageFormatFlags
impl StructuralPartialEq for SparseImageFormatFlags
Auto Trait Implementations§
impl Freeze for SparseImageFormatFlags
impl RefUnwindSafe for SparseImageFormatFlags
impl Send for SparseImageFormatFlags
impl Sync for SparseImageFormatFlags
impl Unpin for SparseImageFormatFlags
impl UnwindSafe for SparseImageFormatFlags
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)