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