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