#[repr(u32)]pub enum FieldValueType {
Double = 0,
UnsignedInt = 1,
UnsignedLong = 2,
UnsignedLongLong = 3,
SignedLongLong = 4,
SignedInt = 5,
UnsignedShort = 6,
}Variants§
Double = 0
UnsignedInt = 1
UnsignedLong = 2
UnsignedLongLong = 3
SignedLongLong = 4
SignedInt = 5
UnsignedShort = 6
Trait Implementations§
Source§impl Clone for FieldValueType
impl Clone for FieldValueType
Source§fn clone(&self) -> FieldValueType
fn clone(&self) -> FieldValueType
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 FieldValueType
impl Debug for FieldValueType
Source§impl From<FieldValueType> for nvmlValueType_t
impl From<FieldValueType> for nvmlValueType_t
Source§fn from(value: FieldValueType) -> Self
fn from(value: FieldValueType) -> Self
Converts to this type from the input type.
Source§impl From<FieldValueType> for u32
impl From<FieldValueType> for u32
Source§fn from(enum_value: FieldValueType) -> Self
fn from(enum_value: FieldValueType) -> Self
Converts to this type from the input type.
Source§impl From<nvmlValueType_enum> for FieldValueType
impl From<nvmlValueType_enum> for FieldValueType
Source§fn from(value: nvmlValueType_t) -> Self
fn from(value: nvmlValueType_t) -> Self
Converts to this type from the input type.
Source§impl Hash for FieldValueType
impl Hash for FieldValueType
Source§impl PartialEq for FieldValueType
impl PartialEq for FieldValueType
Source§fn eq(&self, other: &FieldValueType) -> bool
fn eq(&self, other: &FieldValueType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for FieldValueType
impl TryFrom<u32> for FieldValueType
Source§type Error = TryFromPrimitiveError<FieldValueType>
type Error = TryFromPrimitiveError<FieldValueType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for FieldValueType
impl TryFromPrimitive for FieldValueType
const NAME: &'static str = "FieldValueType"
type Primitive = u32
type Error = TryFromPrimitiveError<FieldValueType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for FieldValueType
impl Eq for FieldValueType
impl StructuralPartialEq for FieldValueType
Auto Trait Implementations§
impl Freeze for FieldValueType
impl RefUnwindSafe for FieldValueType
impl Send for FieldValueType
impl Sync for FieldValueType
impl Unpin for FieldValueType
impl UnsafeUnpin for FieldValueType
impl UnwindSafe for FieldValueType
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