pub struct ProcessDetail {
pub pid: Pid,
pub used_gpu_memory: Option<u64>,
pub gpu_instance_id: u32,
pub compute_instance_id: u32,
pub used_gpu_cc_protected_memory: Option<u64>,
}Fields§
§pid: Pid§used_gpu_memory: Option<u64>§gpu_instance_id: u32§compute_instance_id: u32§used_gpu_cc_protected_memory: Option<u64>Trait Implementations§
Source§impl Clone for ProcessDetail
impl Clone for ProcessDetail
Source§fn clone(&self) -> ProcessDetail
fn clone(&self) -> ProcessDetail
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 ProcessDetail
impl Debug for ProcessDetail
Source§impl From<nvmlProcessDetail_v1_t> for ProcessDetail
impl From<nvmlProcessDetail_v1_t> for ProcessDetail
Source§fn from(value: nvmlProcessDetail_v1_t) -> Self
fn from(value: nvmlProcessDetail_v1_t) -> Self
Converts to this type from the input type.
Source§impl Hash for ProcessDetail
impl Hash for ProcessDetail
Source§impl PartialEq for ProcessDetail
impl PartialEq for ProcessDetail
Source§fn eq(&self, other: &ProcessDetail) -> bool
fn eq(&self, other: &ProcessDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProcessDetail
impl Eq for ProcessDetail
impl StructuralPartialEq for ProcessDetail
Auto Trait Implementations§
impl Freeze for ProcessDetail
impl RefUnwindSafe for ProcessDetail
impl Send for ProcessDetail
impl Sync for ProcessDetail
impl Unpin for ProcessDetail
impl UnsafeUnpin for ProcessDetail
impl UnwindSafe for ProcessDetail
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