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