#[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,
}Expand description
Used in NvAPI_GPU_GetMemoryInfo().
Fields§
§version: u32Version info
dedicatedVideoMemory: u32Size(in kb) of the physical framebuffer.
availableDedicatedVideoMemory: u32Size(in kb) of the available physical framebuffer for allocating video memory surfaces.
systemVideoMemory: u32Size(in kb) of system memory the driver allocates at load time.
Size(in kb) of shared system memory that driver is allowed to commit for surfaces across all allocations.
Implementations§
Trait Implementations§
Source§impl Clone for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
impl Clone for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
Source§fn clone(&self) -> NV_DISPLAY_DRIVER_MEMORY_INFO_V1
fn clone(&self) -> NV_DISPLAY_DRIVER_MEMORY_INFO_V1
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 moreimpl Copy for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
Auto Trait Implementations§
impl Freeze for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
impl RefUnwindSafe for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
impl Send for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
impl Sync for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
impl Unpin for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
impl UnsafeUnpin for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
impl UnwindSafe for NV_DISPLAY_DRIVER_MEMORY_INFO_V1
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