#[repr(transparent)]pub struct SparseImageFormatFlags(_);Expand description
Implementations
sourceimpl 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
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
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.
sourcepub fn bitand(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
pub fn bitand(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitAndAssign<SparseImageFormatFlags> for SparseImageFormatFlags
sourcepub fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
pub fn bitand_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the &= operation. Read more
sourceimpl BitOr<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitOr<SparseImageFormatFlags> for SparseImageFormatFlags
type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the | operator.
sourcepub fn bitor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
pub fn bitor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitOrAssign<SparseImageFormatFlags> for SparseImageFormatFlags
sourcepub fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
pub fn bitor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the |= operation. Read more
sourceimpl BitXor<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitXor<SparseImageFormatFlags> for SparseImageFormatFlags
type Output = SparseImageFormatFlags
type Output = SparseImageFormatFlags
The resulting type after applying the ^ operator.
sourcepub fn bitxor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
pub fn bitxor(self, rhs: SparseImageFormatFlags) -> SparseImageFormatFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SparseImageFormatFlags> for SparseImageFormatFlags
impl BitXorAssign<SparseImageFormatFlags> for SparseImageFormatFlags
sourcepub fn bitxor_assign(&mut self, rhs: SparseImageFormatFlags)
pub fn bitxor_assign(&mut self, rhs: SparseImageFormatFlags)
Performs the ^= operation. Read more
sourceimpl Clone for SparseImageFormatFlags
impl Clone for SparseImageFormatFlags
sourcepub fn clone(&self) -> SparseImageFormatFlags
pub fn clone(&self) -> SparseImageFormatFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SparseImageFormatFlags
impl Debug for SparseImageFormatFlags
sourceimpl Default for SparseImageFormatFlags
impl Default for SparseImageFormatFlags
sourcepub fn default() -> SparseImageFormatFlags
pub 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.
sourcepub fn not(self) -> SparseImageFormatFlags
pub fn not(self) -> SparseImageFormatFlags
Performs the unary ! operation. Read more
sourceimpl Ord for SparseImageFormatFlags
impl Ord for SparseImageFormatFlags
sourceimpl PartialEq<SparseImageFormatFlags> for SparseImageFormatFlags
impl PartialEq<SparseImageFormatFlags> for SparseImageFormatFlags
sourcepub fn eq(&self, other: &SparseImageFormatFlags) -> bool
pub fn eq(&self, other: &SparseImageFormatFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &SparseImageFormatFlags) -> bool
pub fn ne(&self, other: &SparseImageFormatFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<SparseImageFormatFlags> for SparseImageFormatFlags
impl PartialOrd<SparseImageFormatFlags> for SparseImageFormatFlags
sourcepub fn partial_cmp(&self, other: &SparseImageFormatFlags) -> Option<Ordering>
pub fn partial_cmp(&self, other: &SparseImageFormatFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
impl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more