#[non_exhaustive]#[repr(u32)]pub enum hipArraySparseSubresourceType {
hipArraySparseSubresourceTypeSparseLevel,
hipArraySparseSubresourceTypeMiptail,
}Expand description
@brief Subresource types for sparse arrays @enum @ingroup Enumerations
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
hipArraySparseSubresourceTypeSparseLevel
< Sparse level
hipArraySparseSubresourceTypeMiptail
< Miptail
Trait Implementations§
source§impl Clone for hipArraySparseSubresourceType
impl Clone for hipArraySparseSubresourceType
source§fn clone(&self) -> hipArraySparseSubresourceType
fn clone(&self) -> hipArraySparseSubresourceType
Returns a copy 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 Hash for hipArraySparseSubresourceType
impl Hash for hipArraySparseSubresourceType
source§impl Ord for hipArraySparseSubresourceType
impl Ord for hipArraySparseSubresourceType
source§fn cmp(&self, other: &hipArraySparseSubresourceType) -> Ordering
fn cmp(&self, other: &hipArraySparseSubresourceType) -> 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 PartialEq<hipArraySparseSubresourceType> for hipArraySparseSubresourceType
impl PartialEq<hipArraySparseSubresourceType> for hipArraySparseSubresourceType
source§fn eq(&self, other: &hipArraySparseSubresourceType) -> bool
fn eq(&self, other: &hipArraySparseSubresourceType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipArraySparseSubresourceType> for hipArraySparseSubresourceType
impl PartialOrd<hipArraySparseSubresourceType> for hipArraySparseSubresourceType
source§fn partial_cmp(&self, other: &hipArraySparseSubresourceType) -> Option<Ordering>
fn partial_cmp(&self, other: &hipArraySparseSubresourceType) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for hipArraySparseSubresourceType
impl Eq for hipArraySparseSubresourceType
impl StructuralEq for hipArraySparseSubresourceType
impl StructuralPartialEq for hipArraySparseSubresourceType
Auto Trait Implementations§
impl RefUnwindSafe for hipArraySparseSubresourceType
impl Send for hipArraySparseSubresourceType
impl Sync for hipArraySparseSubresourceType
impl Unpin for hipArraySparseSubresourceType
impl UnwindSafe for hipArraySparseSubresourceType
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