#[repr(u32)]pub enum Direction {
Row = 0,
Column = 1,
}Expand description
Selects whether dense matrix elements are scanned by rows or columns in cusparse[S|D|C|Z]nnz.
This also controls block storage format in BSR matrices.
Variants§
Trait Implementations§
Source§impl From<Direction> for cusparseDirection_t
impl From<Direction> for cusparseDirection_t
Source§impl From<cusparseDirection_t> for Direction
impl From<cusparseDirection_t> for Direction
Source§fn from(value: cusparseDirection_t) -> Self
fn from(value: cusparseDirection_t) -> Self
Converts to this type from the input type.
Source§impl TryFromPrimitive for Direction
impl TryFromPrimitive for Direction
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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