#[non_exhaustive]#[repr(u32)]pub enum IndexType {
I16 = 1,
I32 = 2,
I64 = 3,
}Expand description
Describes the integer type used for sparse matrix indices.
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.
Trait Implementations§
impl Copy for IndexType
impl Eq for IndexType
Source§impl From<IndexType> for cusparseIndexType_t
impl From<IndexType> for cusparseIndexType_t
Source§impl From<cusparseIndexType_t> for IndexType
impl From<cusparseIndexType_t> for IndexType
Source§fn from(value: cusparseIndexType_t) -> Self
fn from(value: cusparseIndexType_t) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for IndexType
Auto Trait Implementations§
impl Freeze for IndexType
impl RefUnwindSafe for IndexType
impl Send for IndexType
impl Sync for IndexType
impl Unpin for IndexType
impl UnsafeUnpin for IndexType
impl UnwindSafe for IndexType
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