#[repr(u32)]pub enum AlgorithmMode {
Default = 0,
Algorithm1 = 1,
Algorithm2 = 2,
}Expand description
Algorithm selected by Params::set_adv_options.
The set of algorithms supported for each operation is described with that
operation’s documentation.
The default algorithm is AlgorithmMode::Default.
Variants§
Trait Implementations§
Source§impl Clone for AlgorithmMode
impl Clone for AlgorithmMode
Source§fn clone(&self) -> AlgorithmMode
fn clone(&self) -> AlgorithmMode
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 AlgorithmMode
impl Debug for AlgorithmMode
Source§impl Display for AlgorithmMode
impl Display for AlgorithmMode
Source§impl From<AlgorithmMode> for cusolverAlgMode_t
impl From<AlgorithmMode> for cusolverAlgMode_t
Source§fn from(value: AlgorithmMode) -> Self
fn from(value: AlgorithmMode) -> Self
Converts to this type from the input type.
Source§impl From<AlgorithmMode> for u32
impl From<AlgorithmMode> for u32
Source§fn from(enum_value: AlgorithmMode) -> Self
fn from(enum_value: AlgorithmMode) -> Self
Converts to this type from the input type.
Source§impl From<cusolverAlgMode_t> for AlgorithmMode
impl From<cusolverAlgMode_t> for AlgorithmMode
Source§fn from(value: cusolverAlgMode_t) -> Self
fn from(value: cusolverAlgMode_t) -> Self
Converts to this type from the input type.
Source§impl Hash for AlgorithmMode
impl Hash for AlgorithmMode
Source§impl PartialEq for AlgorithmMode
impl PartialEq for AlgorithmMode
Source§fn eq(&self, other: &AlgorithmMode) -> bool
fn eq(&self, other: &AlgorithmMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for AlgorithmMode
impl TryFrom<u32> for AlgorithmMode
Source§type Error = TryFromPrimitiveError<AlgorithmMode>
type Error = TryFromPrimitiveError<AlgorithmMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AlgorithmMode
impl TryFromPrimitive for AlgorithmMode
const NAME: &'static str = "AlgorithmMode"
type Primitive = u32
type Error = TryFromPrimitiveError<AlgorithmMode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for AlgorithmMode
impl Eq for AlgorithmMode
impl StructuralPartialEq for AlgorithmMode
Auto Trait Implementations§
impl Freeze for AlgorithmMode
impl RefUnwindSafe for AlgorithmMode
impl Send for AlgorithmMode
impl Sync for AlgorithmMode
impl Unpin for AlgorithmMode
impl UnsafeUnpin for AlgorithmMode
impl UnwindSafe for AlgorithmMode
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