[][src]Struct nvapi_sys::driverapi::NV_DISPLAY_DRIVER_MEMORY_INFO_V1

#[repr(C)]pub struct NV_DISPLAY_DRIVER_MEMORY_INFO_V1 {
    pub version: u32,
    pub dedicatedVideoMemory: u32,
    pub availableDedicatedVideoMemory: u32,
    pub systemVideoMemory: u32,
    pub sharedSystemMemory: u32,
}

Used in NvAPI_GPU_GetMemoryInfo().

Fields

version: u32

Version info

dedicatedVideoMemory: u32

Size(in kb) of the physical framebuffer.

availableDedicatedVideoMemory: u32

Size(in kb) of the available physical framebuffer for allocating video memory surfaces.

systemVideoMemory: u32

Size(in kb) of system memory the driver allocates at load time.

sharedSystemMemory: u32

Size(in kb) of shared system memory that driver is allowed to commit for surfaces across all allocations.

Implementations

impl NV_DISPLAY_DRIVER_MEMORY_INFO_V1[src]

pub fn zeroed() -> Self[src]

Trait Implementations

impl Clone for NV_DISPLAY_DRIVER_MEMORY_INFO_V1[src]

impl Copy for NV_DISPLAY_DRIVER_MEMORY_INFO_V1[src]

impl Debug for NV_DISPLAY_DRIVER_MEMORY_INFO_V1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.