#[repr(u32)]pub enum IndexType {
I16 = 1,
I32 = 2,
I64 = 3,
}Expand description
Describes the integer type used for sparse matrix indices.
Variants§
Trait Implementations§
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.
Source§impl TryFromPrimitive for IndexType
impl TryFromPrimitive for IndexType
impl Copy for IndexType
impl Eq for IndexType
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