[][src]Struct nvapi_sys::gpu::pstate::NV_GPU_PERF_PSTATES20_PSTATE

#[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],
}

Performance state (P-State) settings

Fields

pstateId: NV_GPU_PERF_PSTATE_ID

ID of the P-State

bIsEditable: BoolU32

Value 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

impl NV_GPU_PERF_PSTATES20_PSTATE[src]

pub fn zeroed() -> Self[src]

Trait Implementations

impl Clone for NV_GPU_PERF_PSTATES20_PSTATE[src]

impl Copy for NV_GPU_PERF_PSTATES20_PSTATE[src]

impl Debug for NV_GPU_PERF_PSTATES20_PSTATE[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.