#[repr(u32)]pub enum cusparseOperation_t {
CUSPARSE_OPERATION_NON_TRANSPOSE = 0,
CUSPARSE_OPERATION_TRANSPOSE = 1,
CUSPARSE_OPERATION_CONJUGATE_TRANSPOSE = 2,
}Expand description
This type indicates which operations is applied to the related input (e.g. sparse matrix, or vector).
Variants§
CUSPARSE_OPERATION_NON_TRANSPOSE = 0
The non-transpose operation is selected.
CUSPARSE_OPERATION_TRANSPOSE = 1
The transpose operation is selected.
CUSPARSE_OPERATION_CONJUGATE_TRANSPOSE = 2
The conjugate transpose operation is selected.
Trait Implementations§
Source§impl Clone for cusparseOperation_t
impl Clone for cusparseOperation_t
Source§fn clone(&self) -> cusparseOperation_t
fn clone(&self) -> cusparseOperation_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 cusparseOperation_t
impl Debug for cusparseOperation_t
Source§impl Hash for cusparseOperation_t
impl Hash for cusparseOperation_t
Source§impl Ord for cusparseOperation_t
impl Ord for cusparseOperation_t
Source§fn cmp(&self, other: &cusparseOperation_t) -> Ordering
fn cmp(&self, other: &cusparseOperation_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 cusparseOperation_t
impl PartialEq for cusparseOperation_t
Source§fn eq(&self, other: &cusparseOperation_t) -> bool
fn eq(&self, other: &cusparseOperation_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cusparseOperation_t
impl PartialOrd for cusparseOperation_t
impl Copy for cusparseOperation_t
impl Eq for cusparseOperation_t
impl StructuralPartialEq for cusparseOperation_t
Auto Trait Implementations§
impl Freeze for cusparseOperation_t
impl RefUnwindSafe for cusparseOperation_t
impl Send for cusparseOperation_t
impl Sync for cusparseOperation_t
impl Unpin for cusparseOperation_t
impl UnsafeUnpin for cusparseOperation_t
impl UnwindSafe for cusparseOperation_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