#[repr(C)]pub struct NvmlMemory {
pub total: c_ulonglong,
pub free: c_ulonglong,
pub used: c_ulonglong,
}Expand description
2026-09-26: nvmlMemory_t (v1), in bytes.
Fields§
§total: c_ulonglong§free: c_ulonglong§used: c_ulonglongTrait Implementations§
Source§impl Clone for NvmlMemory
impl Clone for NvmlMemory
Source§fn clone(&self) -> NvmlMemory
fn clone(&self) -> NvmlMemory
Returns a duplicate 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 NvmlMemory
impl Debug for NvmlMemory
Source§impl Default for NvmlMemory
impl Default for NvmlMemory
Source§fn default() -> NvmlMemory
fn default() -> NvmlMemory
Returns the “default value” for a type. Read more
Source§impl PartialEq for NvmlMemory
impl PartialEq for NvmlMemory
impl Copy for NvmlMemory
impl Eq for NvmlMemory
impl StructuralPartialEq for NvmlMemory
Auto Trait Implementations§
impl Freeze for NvmlMemory
impl RefUnwindSafe for NvmlMemory
impl Send for NvmlMemory
impl Sync for NvmlMemory
impl Unpin for NvmlMemory
impl UnwindSafe for NvmlMemory
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