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
Double
UnsignedInt
UnsignedLong
UnsignedLongLong
SignedLongLong
Implementations
sourceimpl 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
sourceimpl Clone for SampleValueType
impl Clone for SampleValueType
sourcefn clone(&self) -> SampleValueType
fn clone(&self) -> SampleValueType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SampleValueType
impl Debug for SampleValueType
sourceimpl Hash for SampleValueType
impl Hash for SampleValueType
sourceimpl PartialEq<SampleValueType> for SampleValueType
impl PartialEq<SampleValueType> for SampleValueType
sourceimpl TryFrom<u32> for SampleValueType
impl TryFrom<u32> for SampleValueType
impl Eq for SampleValueType
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more