pub struct SparseImageFormatFlagBits(/* private fields */);Expand description
Implementations§
Source§impl SparseImageFormatFlagBits
impl SparseImageFormatFlagBits
Sourcepub const SINGLE_MIPTAIL: SparseImageFormatFlagBits
pub const SINGLE_MIPTAIL: SparseImageFormatFlagBits
Bit 0.
Sourcepub const ALIGNED_MIP_SIZE: SparseImageFormatFlagBits
pub const ALIGNED_MIP_SIZE: SparseImageFormatFlagBits
Bit 1.
Sourcepub const NONSTANDARD_BLOCK_SIZE: SparseImageFormatFlagBits
pub const NONSTANDARD_BLOCK_SIZE: SparseImageFormatFlagBits
Bit 2.
pub const fn empty() -> SparseImageFormatFlagBits
pub const fn from_raw(value: u32) -> SparseImageFormatFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: SparseImageFormatFlagBits) -> bool
pub const fn all() -> SparseImageFormatFlagBits
Trait Implementations§
Source§impl BitAnd for SparseImageFormatFlagBits
impl BitAnd for SparseImageFormatFlagBits
Source§type Output = SparseImageFormatFlagBits
type Output = SparseImageFormatFlagBits
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: SparseImageFormatFlagBits) -> SparseImageFormatFlagBits
fn bitand(self, rhs: SparseImageFormatFlagBits) -> SparseImageFormatFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for SparseImageFormatFlagBits
impl BitAndAssign for SparseImageFormatFlagBits
Source§fn bitand_assign(&mut self, rhs: SparseImageFormatFlagBits)
fn bitand_assign(&mut self, rhs: SparseImageFormatFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for SparseImageFormatFlagBits
impl BitOr for SparseImageFormatFlagBits
Source§type Output = SparseImageFormatFlagBits
type Output = SparseImageFormatFlagBits
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: SparseImageFormatFlagBits) -> SparseImageFormatFlagBits
fn bitor(self, rhs: SparseImageFormatFlagBits) -> SparseImageFormatFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for SparseImageFormatFlagBits
impl BitOrAssign for SparseImageFormatFlagBits
Source§fn bitor_assign(&mut self, rhs: SparseImageFormatFlagBits)
fn bitor_assign(&mut self, rhs: SparseImageFormatFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for SparseImageFormatFlagBits
impl BitXor for SparseImageFormatFlagBits
Source§type Output = SparseImageFormatFlagBits
type Output = SparseImageFormatFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: SparseImageFormatFlagBits) -> SparseImageFormatFlagBits
fn bitxor(self, rhs: SparseImageFormatFlagBits) -> SparseImageFormatFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for SparseImageFormatFlagBits
impl BitXorAssign for SparseImageFormatFlagBits
Source§fn bitxor_assign(&mut self, rhs: SparseImageFormatFlagBits)
fn bitxor_assign(&mut self, rhs: SparseImageFormatFlagBits)
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§type Output = SparseImageFormatFlagBits
type Output = SparseImageFormatFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> SparseImageFormatFlagBits
fn not(self) -> SparseImageFormatFlagBits
Performs the unary
! operation. Read moreSource§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