#[repr(u32)]pub enum PrecisionType {
Show 16 variants
R8I = 1_201,
R8U = 1_202,
R64F = 1_203,
R32F = 1_204,
R16F = 1_205,
R16Bf = 1_206,
RTf32 = 1_207,
RAp = 1_208,
C8I = 1_211,
C8U = 1_212,
C64F = 1_213,
C32F = 1_214,
C16F = 1_215,
C16Bf = 1_216,
CTf32 = 1_217,
CAp = 1_218,
}Variants§
R8I = 1_201
R8U = 1_202
R64F = 1_203
R32F = 1_204
R16F = 1_205
R16Bf = 1_206
RTf32 = 1_207
RAp = 1_208
C8I = 1_211
C8U = 1_212
C64F = 1_213
C32F = 1_214
C16F = 1_215
C16Bf = 1_216
CTf32 = 1_217
CAp = 1_218
Implementations§
Source§impl PrecisionType
impl PrecisionType
pub const fn from_data_type(data_type: DataType) -> Option<Self>
Trait Implementations§
Source§impl Clone for PrecisionType
impl Clone for PrecisionType
Source§fn clone(&self) -> PrecisionType
fn clone(&self) -> PrecisionType
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 PrecisionType
impl Debug for PrecisionType
Source§impl Display for PrecisionType
impl Display for PrecisionType
Source§impl From<PrecisionType> for cusolverPrecType_t
impl From<PrecisionType> for cusolverPrecType_t
Source§fn from(value: PrecisionType) -> Self
fn from(value: PrecisionType) -> Self
Converts to this type from the input type.
Source§impl From<PrecisionType> for u32
impl From<PrecisionType> for u32
Source§fn from(enum_value: PrecisionType) -> Self
fn from(enum_value: PrecisionType) -> Self
Converts to this type from the input type.
Source§impl From<cusolverPrecType_t> for PrecisionType
impl From<cusolverPrecType_t> for PrecisionType
Source§fn from(value: cusolverPrecType_t) -> Self
fn from(value: cusolverPrecType_t) -> Self
Converts to this type from the input type.
Source§impl Hash for PrecisionType
impl Hash for PrecisionType
Source§impl PartialEq for PrecisionType
impl PartialEq for PrecisionType
Source§fn eq(&self, other: &PrecisionType) -> bool
fn eq(&self, other: &PrecisionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for PrecisionType
impl TryFrom<u32> for PrecisionType
Source§type Error = TryFromPrimitiveError<PrecisionType>
type Error = TryFromPrimitiveError<PrecisionType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for PrecisionType
impl TryFromPrimitive for PrecisionType
const NAME: &'static str = "PrecisionType"
type Primitive = u32
type Error = TryFromPrimitiveError<PrecisionType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for PrecisionType
impl Eq for PrecisionType
impl StructuralPartialEq for PrecisionType
Auto Trait Implementations§
impl Freeze for PrecisionType
impl RefUnwindSafe for PrecisionType
impl Send for PrecisionType
impl Sync for PrecisionType
impl Unpin for PrecisionType
impl UnsafeUnpin for PrecisionType
impl UnwindSafe for PrecisionType
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