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