#[repr(u32)]pub enum cusparseIndexType_t {
CUSPARSE_INDEX_16U = 1,
CUSPARSE_INDEX_32I = 2,
CUSPARSE_INDEX_64I = 3,
}Expand description
This type indicates the index type for representing the sparse matrix indices.
Variants§
CUSPARSE_INDEX_16U = 1
CUSPARSE_INDEX_32I = 2
32-bit signed integer [0, 2^31 - 1].
CUSPARSE_INDEX_64I = 3
64-bit signed integer [0, 2^63 - 1].
Trait Implementations§
Source§impl Clone for cusparseIndexType_t
impl Clone for cusparseIndexType_t
Source§fn clone(&self) -> cusparseIndexType_t
fn clone(&self) -> cusparseIndexType_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 cusparseIndexType_t
impl Debug for cusparseIndexType_t
Source§impl Hash for cusparseIndexType_t
impl Hash for cusparseIndexType_t
Source§impl Ord for cusparseIndexType_t
impl Ord for cusparseIndexType_t
Source§fn cmp(&self, other: &cusparseIndexType_t) -> Ordering
fn cmp(&self, other: &cusparseIndexType_t) -> Ordering
1.21.0 (const: unstable) · 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 for cusparseIndexType_t
impl PartialEq for cusparseIndexType_t
Source§fn eq(&self, other: &cusparseIndexType_t) -> bool
fn eq(&self, other: &cusparseIndexType_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cusparseIndexType_t
impl PartialOrd for cusparseIndexType_t
impl Copy for cusparseIndexType_t
impl Eq for cusparseIndexType_t
impl StructuralPartialEq for cusparseIndexType_t
Auto Trait Implementations§
impl Freeze for cusparseIndexType_t
impl RefUnwindSafe for cusparseIndexType_t
impl Send for cusparseIndexType_t
impl Sync for cusparseIndexType_t
impl Unpin for cusparseIndexType_t
impl UnsafeUnpin for cusparseIndexType_t
impl UnwindSafe for cusparseIndexType_t
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