#[repr(u32)]pub enum cusolverDnFunction_t {
CUSOLVERDN_GETRF = 0,
CUSOLVERDN_POTRF = 1,
CUSOLVERDN_SYEVBATCHED = 2,
}Expand description
The cusolverDnFunction_t type indicates which routine needs to be configured by cusolverDnSetAdvOptions. The value cusolverDnFunction_t::CUSOLVERDN_GETRF corresponds to the routine Getrf.
Variants§
Trait Implementations§
Source§impl Clone for cusolverDnFunction_t
impl Clone for cusolverDnFunction_t
Source§fn clone(&self) -> cusolverDnFunction_t
fn clone(&self) -> cusolverDnFunction_t
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 cusolverDnFunction_t
impl Debug for cusolverDnFunction_t
Source§impl From<cusolverDnFunction_t> for u32
impl From<cusolverDnFunction_t> for u32
Source§fn from(enum_value: cusolverDnFunction_t) -> Self
fn from(enum_value: cusolverDnFunction_t) -> Self
Converts to this type from the input type.
Source§impl Hash for cusolverDnFunction_t
impl Hash for cusolverDnFunction_t
Source§impl Ord for cusolverDnFunction_t
impl Ord for cusolverDnFunction_t
Source§fn cmp(&self, other: &cusolverDnFunction_t) -> Ordering
fn cmp(&self, other: &cusolverDnFunction_t) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cusolverDnFunction_t
impl PartialEq for cusolverDnFunction_t
Source§fn eq(&self, other: &cusolverDnFunction_t) -> bool
fn eq(&self, other: &cusolverDnFunction_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cusolverDnFunction_t
impl PartialOrd for cusolverDnFunction_t
Source§impl TryFrom<u32> for cusolverDnFunction_t
impl TryFrom<u32> for cusolverDnFunction_t
Source§type Error = TryFromPrimitiveError<cusolverDnFunction_t>
type Error = TryFromPrimitiveError<cusolverDnFunction_t>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for cusolverDnFunction_t
impl TryFromPrimitive for cusolverDnFunction_t
const NAME: &'static str = "cusolverDnFunction_t"
type Primitive = u32
type Error = TryFromPrimitiveError<cusolverDnFunction_t>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for cusolverDnFunction_t
impl Eq for cusolverDnFunction_t
impl StructuralPartialEq for cusolverDnFunction_t
Auto Trait Implementations§
impl Freeze for cusolverDnFunction_t
impl RefUnwindSafe for cusolverDnFunction_t
impl Send for cusolverDnFunction_t
impl Sync for cusolverDnFunction_t
impl Unpin for cusolverDnFunction_t
impl UnsafeUnpin for cusolverDnFunction_t
impl UnwindSafe for cusolverDnFunction_t
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