#[non_exhaustive]#[repr(u32)]pub enum DenseToSparseAlgorithm {
Default = 0,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default = 0
Trait Implementations§
Source§impl Clone for DenseToSparseAlgorithm
impl Clone for DenseToSparseAlgorithm
Source§fn clone(&self) -> DenseToSparseAlgorithm
fn clone(&self) -> DenseToSparseAlgorithm
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 moreimpl Copy for DenseToSparseAlgorithm
Source§impl Debug for DenseToSparseAlgorithm
impl Debug for DenseToSparseAlgorithm
Source§impl Display for DenseToSparseAlgorithm
impl Display for DenseToSparseAlgorithm
impl Eq for DenseToSparseAlgorithm
Source§impl From<DenseToSparseAlgorithm> for u32
impl From<DenseToSparseAlgorithm> for u32
Source§fn from(enum_value: DenseToSparseAlgorithm) -> Self
fn from(enum_value: DenseToSparseAlgorithm) -> Self
Converts to this type from the input type.
Source§impl From<DenseToSparseAlgorithm> for cusparseDenseToSparseAlg_t
impl From<DenseToSparseAlgorithm> for cusparseDenseToSparseAlg_t
Source§fn from(value: DenseToSparseAlgorithm) -> Self
fn from(value: DenseToSparseAlgorithm) -> Self
Converts to this type from the input type.
Source§impl From<cusparseDenseToSparseAlg_t> for DenseToSparseAlgorithm
impl From<cusparseDenseToSparseAlg_t> for DenseToSparseAlgorithm
Source§fn from(value: cusparseDenseToSparseAlg_t) -> Self
fn from(value: cusparseDenseToSparseAlg_t) -> Self
Converts to this type from the input type.
Source§impl Hash for DenseToSparseAlgorithm
impl Hash for DenseToSparseAlgorithm
Source§impl PartialEq for DenseToSparseAlgorithm
impl PartialEq for DenseToSparseAlgorithm
Source§fn eq(&self, other: &DenseToSparseAlgorithm) -> bool
fn eq(&self, other: &DenseToSparseAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DenseToSparseAlgorithm
Source§impl TryFrom<u32> for DenseToSparseAlgorithm
impl TryFrom<u32> for DenseToSparseAlgorithm
Source§type Error = TryFromPrimitiveError<DenseToSparseAlgorithm>
type Error = TryFromPrimitiveError<DenseToSparseAlgorithm>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for DenseToSparseAlgorithm
impl TryFromPrimitive for DenseToSparseAlgorithm
const NAME: &'static str = "DenseToSparseAlgorithm"
type Primitive = u32
type Error = TryFromPrimitiveError<DenseToSparseAlgorithm>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for DenseToSparseAlgorithm
impl RefUnwindSafe for DenseToSparseAlgorithm
impl Send for DenseToSparseAlgorithm
impl Sync for DenseToSparseAlgorithm
impl Unpin for DenseToSparseAlgorithm
impl UnsafeUnpin for DenseToSparseAlgorithm
impl UnwindSafe for DenseToSparseAlgorithm
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