#[repr(transparent)]pub struct cusparseStatus_t(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl cusparseStatus_t
impl cusparseStatus_t
pub const SUCCESS: Self
pub const NOT_INITIALIZED: Self
pub const ALLOC_FAILED: Self
pub const INVALID_VALUE: Self
pub const ARCH_MISMATCH: Self
pub const MAPPING_ERROR: Self
pub const EXECUTION_FAILED: Self
pub const INTERNAL_ERROR: Self
pub const MATRIX_TYPE_NOT_SUPPORTED: Self
pub const ZERO_PIVOT: Self
pub const NOT_SUPPORTED: Self
pub const INSUFFICIENT_RESOURCES: Self
pub const fn is_success(self) -> bool
Trait Implementations§
Source§impl Clone for cusparseStatus_t
impl Clone for cusparseStatus_t
Source§fn clone(&self) -> cusparseStatus_t
fn clone(&self) -> cusparseStatus_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 CudaStatus for cusparseStatus_t
impl CudaStatus for cusparseStatus_t
Source§fn name(self) -> &'static str
fn name(self) -> &'static str
The stable symbol name of this status
(e.g.
"CUDA_SUCCESS", "CUBLAS_STATUS_NOT_INITIALIZED").Source§fn description(self) -> &'static str
fn description(self) -> &'static str
A human-readable description of the status. Read more
Source§fn is_success(self) -> bool
fn is_success(self) -> bool
true if this status represents successful completion.Source§impl Debug for cusparseStatus_t
impl Debug for cusparseStatus_t
Source§impl Hash for cusparseStatus_t
impl Hash for cusparseStatus_t
Source§impl Ord for cusparseStatus_t
impl Ord for cusparseStatus_t
Source§fn cmp(&self, other: &cusparseStatus_t) -> Ordering
fn cmp(&self, other: &cusparseStatus_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 cusparseStatus_t
impl PartialEq for cusparseStatus_t
Source§fn eq(&self, other: &cusparseStatus_t) -> bool
fn eq(&self, other: &cusparseStatus_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cusparseStatus_t
impl PartialOrd for cusparseStatus_t
impl Copy for cusparseStatus_t
impl Eq for cusparseStatus_t
impl StructuralPartialEq for cusparseStatus_t
Auto Trait Implementations§
impl Freeze for cusparseStatus_t
impl RefUnwindSafe for cusparseStatus_t
impl Send for cusparseStatus_t
impl Sync for cusparseStatus_t
impl Unpin for cusparseStatus_t
impl UnsafeUnpin for cusparseStatus_t
impl UnwindSafe for cusparseStatus_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