Struct nvml_wrapper_sys::bindings::nvmlGpmMetricsGet_t
source · #[repr(C)]pub struct nvmlGpmMetricsGet_t {
pub version: c_uint,
pub numMetrics: c_uint,
pub sample1: nvmlGpmSample_t,
pub sample2: nvmlGpmSample_t,
pub metrics: [nvmlGpmMetric_t; 98],
}
Fields§
§version: c_uint
§numMetrics: c_uint
§sample1: nvmlGpmSample_t
§sample2: nvmlGpmSample_t
§metrics: [nvmlGpmMetric_t; 98]
Trait Implementations§
source§impl Clone for nvmlGpmMetricsGet_t
impl Clone for nvmlGpmMetricsGet_t
source§fn clone(&self) -> nvmlGpmMetricsGet_t
fn clone(&self) -> nvmlGpmMetricsGet_t
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 nvmlGpmMetricsGet_t
impl Debug for nvmlGpmMetricsGet_t
impl Copy for nvmlGpmMetricsGet_t
Auto Trait Implementations§
impl RefUnwindSafe for nvmlGpmMetricsGet_t
impl !Send for nvmlGpmMetricsGet_t
impl !Sync for nvmlGpmMetricsGet_t
impl Unpin for nvmlGpmMetricsGet_t
impl UnwindSafe for nvmlGpmMetricsGet_t
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