#[repr(C)]pub struct NV_GPU_PERF_PSTATES20_INFO_V1 {
pub version: u32,
pub bIsEditable: BoolU32,
pub numPstates: u32,
pub numClocks: u32,
pub numBaseVoltages: u32,
pub pstates: [NV_GPU_PERF_PSTATES20_PSTATE; 16],
}Expand description
Used in NvAPI_GPU_GetPstates20() interface call.
Fields§
§version: u32Version info of the structure (NV_GPU_PERF_PSTATES20_INFO_VER
bIsEditable: BoolU32§numPstates: u32Number of populated pstates
numClocks: u32Number of populated clocks (per pstate)
numBaseVoltages: u32Number of populated base voltages (per pstate)
pstates: [NV_GPU_PERF_PSTATES20_PSTATE; 16]Performance state (P-State) settings Valid index range is 0 to numPstates-1
Implementations§
Trait Implementations§
Source§impl Clone for NV_GPU_PERF_PSTATES20_INFO_V1
impl Clone for NV_GPU_PERF_PSTATES20_INFO_V1
Source§fn clone(&self) -> NV_GPU_PERF_PSTATES20_INFO_V1
fn clone(&self) -> NV_GPU_PERF_PSTATES20_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_GPU_PERF_PSTATES20_INFO_V1
Auto Trait Implementations§
impl Freeze for NV_GPU_PERF_PSTATES20_INFO_V1
impl RefUnwindSafe for NV_GPU_PERF_PSTATES20_INFO_V1
impl Send for NV_GPU_PERF_PSTATES20_INFO_V1
impl Sync for NV_GPU_PERF_PSTATES20_INFO_V1
impl Unpin for NV_GPU_PERF_PSTATES20_INFO_V1
impl UnwindSafe for NV_GPU_PERF_PSTATES20_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