#[repr(C)]pub struct NV_GPU_PERF_PSTATES20_PSTATE {
pub pstateId: NV_GPU_PERF_PSTATE_ID,
pub bIsEditable: BoolU32,
pub clocks: [NV_GPU_PSTATE20_CLOCK_ENTRY_V1; 8],
pub baseVoltages: [NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1; 4],
}Expand description
Performance state (P-State) settings
Fields§
§pstateId: NV_GPU_PERF_PSTATE_IDID of the P-State
bIsEditable: BoolU32Value must be 0 or 1. These bits are reserved for future use (must be always 0)
clocks: [NV_GPU_PSTATE20_CLOCK_ENTRY_V1; 8]Array of clock entries Valid index range is 0 to numClocks-1
baseVoltages: [NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1; 4]Array of baseVoltage entries Valid index range is 0 to numBaseVoltages-1
Implementations§
Trait Implementations§
Source§impl Clone for NV_GPU_PERF_PSTATES20_PSTATE
impl Clone for NV_GPU_PERF_PSTATES20_PSTATE
Source§fn clone(&self) -> NV_GPU_PERF_PSTATES20_PSTATE
fn clone(&self) -> NV_GPU_PERF_PSTATES20_PSTATE
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 moreSource§impl Debug for NV_GPU_PERF_PSTATES20_PSTATE
impl Debug for NV_GPU_PERF_PSTATES20_PSTATE
impl Copy for NV_GPU_PERF_PSTATES20_PSTATE
Auto Trait Implementations§
impl Freeze for NV_GPU_PERF_PSTATES20_PSTATE
impl RefUnwindSafe for NV_GPU_PERF_PSTATES20_PSTATE
impl Send for NV_GPU_PERF_PSTATES20_PSTATE
impl Sync for NV_GPU_PERF_PSTATES20_PSTATE
impl Unpin for NV_GPU_PERF_PSTATES20_PSTATE
impl UnwindSafe for NV_GPU_PERF_PSTATES20_PSTATE
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