#[repr(u32)]pub enum cusparseDirection_t {
CUSPARSE_DIRECTION_ROW = 0,
CUSPARSE_DIRECTION_COLUMN = 1,
}Expand description
This type indicates whether the elements of a dense matrix should be parsed by rows or by columns (assuming column-major storage in memory of the dense matrix) in function cusparse[S|D|C|Z]nnz. Besides storage format of blocks in BSR format is also controlled by this type.
Variants§
CUSPARSE_DIRECTION_ROW = 0
The matrix should be parsed by rows.
CUSPARSE_DIRECTION_COLUMN = 1
The matrix should be parsed by columns.
Trait Implementations§
Source§impl Clone for cusparseDirection_t
impl Clone for cusparseDirection_t
Source§fn clone(&self) -> cusparseDirection_t
fn clone(&self) -> cusparseDirection_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 cusparseDirection_t
impl Debug for cusparseDirection_t
Source§impl Hash for cusparseDirection_t
impl Hash for cusparseDirection_t
Source§impl Ord for cusparseDirection_t
impl Ord for cusparseDirection_t
Source§fn cmp(&self, other: &cusparseDirection_t) -> Ordering
fn cmp(&self, other: &cusparseDirection_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 cusparseDirection_t
impl PartialEq for cusparseDirection_t
Source§fn eq(&self, other: &cusparseDirection_t) -> bool
fn eq(&self, other: &cusparseDirection_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cusparseDirection_t
impl PartialOrd for cusparseDirection_t
impl Copy for cusparseDirection_t
impl Eq for cusparseDirection_t
impl StructuralPartialEq for cusparseDirection_t
Auto Trait Implementations§
impl Freeze for cusparseDirection_t
impl RefUnwindSafe for cusparseDirection_t
impl Send for cusparseDirection_t
impl Sync for cusparseDirection_t
impl Unpin for cusparseDirection_t
impl UnsafeUnpin for cusparseDirection_t
impl UnwindSafe for cusparseDirection_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