#[repr(C)]pub struct NV_GPU_PERF_PSTATES20_INFO_V2 {
pub v1: NV_GPU_PERF_PSTATES20_INFO_V1,
pub numVoltages: u32,
pub voltages: [NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1; 4],
}Expand description
Used in NvAPI_GPU_GetPstates20() interface call.
Fields§
§v1: NV_GPU_PERF_PSTATES20_INFO_V1§numVoltages: u32Number of populated voltages
voltages: [NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1; 4]OV settings - Please refer to NVIDIA over-volting recommendation to understand impact of this functionality Valid index range is 0 to numVoltages-1
Implementations§
Trait Implementations§
Source§impl Clone for NV_GPU_PERF_PSTATES20_INFO_V2
impl Clone for NV_GPU_PERF_PSTATES20_INFO_V2
Source§fn clone(&self) -> NV_GPU_PERF_PSTATES20_INFO_V2
fn clone(&self) -> NV_GPU_PERF_PSTATES20_INFO_V2
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_GPU_PERF_PSTATES20_INFO_V2
Auto Trait Implementations§
impl Freeze for NV_GPU_PERF_PSTATES20_INFO_V2
impl RefUnwindSafe for NV_GPU_PERF_PSTATES20_INFO_V2
impl Send for NV_GPU_PERF_PSTATES20_INFO_V2
impl Sync for NV_GPU_PERF_PSTATES20_INFO_V2
impl Unpin for NV_GPU_PERF_PSTATES20_INFO_V2
impl UnwindSafe for NV_GPU_PERF_PSTATES20_INFO_V2
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