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