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