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