Struct nvml_wrapper::struct_wrappers::device::BAR1MemoryInfo
source · [−]Expand description
BAR1 memory allocation information for a device (in bytes)
Fields
free: u64Unallocated
total: u64Total memory
used: u64Allocated
Trait Implementations
sourceimpl Clone for BAR1MemoryInfo
impl Clone for BAR1MemoryInfo
sourcefn clone(&self) -> BAR1MemoryInfo
fn clone(&self) -> BAR1MemoryInfo
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 BAR1MemoryInfo
impl Debug for BAR1MemoryInfo
sourceimpl From<nvmlBAR1Memory_st> for BAR1MemoryInfo
impl From<nvmlBAR1Memory_st> for BAR1MemoryInfo
sourcefn from(struct_: nvmlBAR1Memory_t) -> Self
fn from(struct_: nvmlBAR1Memory_t) -> Self
Converts to this type from the input type.
sourceimpl Hash for BAR1MemoryInfo
impl Hash for BAR1MemoryInfo
sourceimpl PartialEq<BAR1MemoryInfo> for BAR1MemoryInfo
impl PartialEq<BAR1MemoryInfo> for BAR1MemoryInfo
sourcefn eq(&self, other: &BAR1MemoryInfo) -> bool
fn eq(&self, other: &BAR1MemoryInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &BAR1MemoryInfo) -> bool
fn ne(&self, other: &BAR1MemoryInfo) -> bool
This method tests for !=.
impl Eq for BAR1MemoryInfo
impl StructuralEq for BAR1MemoryInfo
impl StructuralPartialEq for BAR1MemoryInfo
Auto Trait Implementations
impl RefUnwindSafe for BAR1MemoryInfo
impl Send for BAR1MemoryInfo
impl Sync for BAR1MemoryInfo
impl Unpin for BAR1MemoryInfo
impl UnwindSafe for BAR1MemoryInfo
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