Enum nvml_wrapper::enum_wrappers::device::SampleValueType
source · pub enum SampleValueType {
Double,
UnsignedInt,
UnsignedLong,
UnsignedLongLong,
SignedLongLong,
}
Expand description
Represents types for returned sample values.
Variants§
Implementations§
source§impl SampleValueType
impl SampleValueType
sourcepub fn as_c(&self) -> nvmlValueType_enum
pub fn as_c(&self) -> nvmlValueType_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for SampleValueType
impl Clone for SampleValueType
source§fn clone(&self) -> SampleValueType
fn clone(&self) -> SampleValueType
Returns a copy of the value. Read more
1.0.0 · 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 SampleValueType
impl Debug for SampleValueType
source§impl Hash for SampleValueType
impl Hash for SampleValueType
source§impl PartialEq for SampleValueType
impl PartialEq for SampleValueType
source§fn eq(&self, other: &SampleValueType) -> bool
fn eq(&self, other: &SampleValueType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for SampleValueType
impl TryFrom<u32> for SampleValueType
impl Eq for SampleValueType
impl StructuralPartialEq for SampleValueType
Auto Trait Implementations§
impl RefUnwindSafe for SampleValueType
impl Send for SampleValueType
impl Sync for SampleValueType
impl Unpin for SampleValueType
impl UnwindSafe for SampleValueType
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