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