pub struct SparseImageFormatFlagBits(/* private fields */);Expand description
Implementations§
Source§impl SparseImageFormatFlagBits
impl SparseImageFormatFlagBits
Sourcepub const SINGLE_MIPTAIL: Self
pub const SINGLE_MIPTAIL: Self
Bit 0.
Sourcepub const ALIGNED_MIP_SIZE: Self
pub const ALIGNED_MIP_SIZE: Self
Bit 1.
Sourcepub const NONSTANDARD_BLOCK_SIZE: Self
pub const NONSTANDARD_BLOCK_SIZE: Self
Bit 2.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAnd for SparseImageFormatFlagBits
impl BitAnd for SparseImageFormatFlagBits
Source§impl BitAndAssign for SparseImageFormatFlagBits
impl BitAndAssign for SparseImageFormatFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for SparseImageFormatFlagBits
impl BitOr for SparseImageFormatFlagBits
Source§impl BitOrAssign for SparseImageFormatFlagBits
impl BitOrAssign for SparseImageFormatFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for SparseImageFormatFlagBits
impl BitXor for SparseImageFormatFlagBits
Source§impl BitXorAssign for SparseImageFormatFlagBits
impl BitXorAssign for SparseImageFormatFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for SparseImageFormatFlagBits
impl Clone for SparseImageFormatFlagBits
Source§fn clone(&self) -> SparseImageFormatFlagBits
fn clone(&self) -> SparseImageFormatFlagBits
Returns a duplicate 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 SparseImageFormatFlagBits
impl Debug for SparseImageFormatFlagBits
Source§impl Default for SparseImageFormatFlagBits
impl Default for SparseImageFormatFlagBits
Source§fn default() -> SparseImageFormatFlagBits
fn default() -> SparseImageFormatFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for SparseImageFormatFlagBits
impl Hash for SparseImageFormatFlagBits
Source§impl Not for SparseImageFormatFlagBits
impl Not for SparseImageFormatFlagBits
Source§impl Ord for SparseImageFormatFlagBits
impl Ord for SparseImageFormatFlagBits
Source§fn cmp(&self, other: &SparseImageFormatFlagBits) -> Ordering
fn cmp(&self, other: &SparseImageFormatFlagBits) -> 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 PartialOrd for SparseImageFormatFlagBits
impl PartialOrd for SparseImageFormatFlagBits
impl Copy for SparseImageFormatFlagBits
impl Eq for SparseImageFormatFlagBits
impl StructuralPartialEq for SparseImageFormatFlagBits
Auto Trait Implementations§
impl Freeze for SparseImageFormatFlagBits
impl RefUnwindSafe for SparseImageFormatFlagBits
impl Send for SparseImageFormatFlagBits
impl Sync for SparseImageFormatFlagBits
impl Unpin for SparseImageFormatFlagBits
impl UnsafeUnpin for SparseImageFormatFlagBits
impl UnwindSafe for SparseImageFormatFlagBits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more