#[repr(u32)]pub enum SparseMatrixAttribute {
FillMode = 0,
DiagonalType = 1,
}Variants§
Trait Implementations§
Source§impl Clone for SparseMatrixAttribute
impl Clone for SparseMatrixAttribute
Source§fn clone(&self) -> SparseMatrixAttribute
fn clone(&self) -> SparseMatrixAttribute
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 SparseMatrixAttribute
impl Debug for SparseMatrixAttribute
Source§impl Display for SparseMatrixAttribute
impl Display for SparseMatrixAttribute
Source§impl From<SparseMatrixAttribute> for cusparseSpMatAttribute_t
impl From<SparseMatrixAttribute> for cusparseSpMatAttribute_t
Source§fn from(value: SparseMatrixAttribute) -> Self
fn from(value: SparseMatrixAttribute) -> Self
Converts to this type from the input type.
Source§impl From<SparseMatrixAttribute> for u32
impl From<SparseMatrixAttribute> for u32
Source§fn from(enum_value: SparseMatrixAttribute) -> Self
fn from(enum_value: SparseMatrixAttribute) -> Self
Converts to this type from the input type.
Source§impl From<cusparseSpMatAttribute_t> for SparseMatrixAttribute
impl From<cusparseSpMatAttribute_t> for SparseMatrixAttribute
Source§fn from(value: cusparseSpMatAttribute_t) -> Self
fn from(value: cusparseSpMatAttribute_t) -> Self
Converts to this type from the input type.
Source§impl Hash for SparseMatrixAttribute
impl Hash for SparseMatrixAttribute
Source§impl PartialEq for SparseMatrixAttribute
impl PartialEq for SparseMatrixAttribute
Source§fn eq(&self, other: &SparseMatrixAttribute) -> bool
fn eq(&self, other: &SparseMatrixAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for SparseMatrixAttribute
impl TryFrom<u32> for SparseMatrixAttribute
Source§type Error = TryFromPrimitiveError<SparseMatrixAttribute>
type Error = TryFromPrimitiveError<SparseMatrixAttribute>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for SparseMatrixAttribute
impl TryFromPrimitive for SparseMatrixAttribute
const NAME: &'static str = "SparseMatrixAttribute"
type Primitive = u32
type Error = TryFromPrimitiveError<SparseMatrixAttribute>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SparseMatrixAttribute
impl Eq for SparseMatrixAttribute
impl StructuralPartialEq for SparseMatrixAttribute
Auto Trait Implementations§
impl Freeze for SparseMatrixAttribute
impl RefUnwindSafe for SparseMatrixAttribute
impl Send for SparseMatrixAttribute
impl Sync for SparseMatrixAttribute
impl Unpin for SparseMatrixAttribute
impl UnsafeUnpin for SparseMatrixAttribute
impl UnwindSafe for SparseMatrixAttribute
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