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