Struct nvapi::MemoryInfo
source · [−]pub struct MemoryInfo {
pub dedicated: Kibibytes,
pub dedicated_available: Kibibytes,
pub system: Kibibytes,
pub shared: Kibibytes,
pub dedicated_available_current: Kibibytes,
pub dedicated_evictions_size: Kibibytes,
pub dedicated_evictions: u32,
}
Fields
dedicated: Kibibytes
dedicated_available: Kibibytes
system: Kibibytes
dedicated_available_current: Kibibytes
dedicated_evictions_size: Kibibytes
dedicated_evictions: u32
Trait Implementations
sourceimpl Clone for MemoryInfo
impl Clone for MemoryInfo
sourcefn clone(&self) -> MemoryInfo
fn clone(&self) -> MemoryInfo
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 MemoryInfo
impl Debug for MemoryInfo
sourceimpl<'de> Deserialize<'de> for MemoryInfo
impl<'de> Deserialize<'de> for MemoryInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for MemoryInfo
impl Hash for MemoryInfo
sourceimpl Ord for MemoryInfo
impl Ord for MemoryInfo
sourceimpl PartialEq<MemoryInfo> for MemoryInfo
impl PartialEq<MemoryInfo> for MemoryInfo
sourcefn eq(&self, other: &MemoryInfo) -> bool
fn eq(&self, other: &MemoryInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MemoryInfo) -> bool
fn ne(&self, other: &MemoryInfo) -> bool
This method tests for !=
.
sourceimpl PartialOrd<MemoryInfo> for MemoryInfo
impl PartialOrd<MemoryInfo> for MemoryInfo
sourcefn partial_cmp(&self, other: &MemoryInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryInfo) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for MemoryInfo
impl Serialize for MemoryInfo
impl Copy for MemoryInfo
impl Eq for MemoryInfo
impl StructuralEq for MemoryInfo
impl StructuralPartialEq for MemoryInfo
Auto Trait Implementations
impl RefUnwindSafe for MemoryInfo
impl Send for MemoryInfo
impl Sync for MemoryInfo
impl Unpin for MemoryInfo
impl UnwindSafe for MemoryInfo
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