[][src]Enum nvapi_sys::gpu::pstate::PstateId

#[repr(i32)]pub enum PstateId {
    P0,
    P1,
    P2,
    P3,
    P4,
    P5,
    P6,
    P7,
    P8,
    P9,
    P10,
    P11,
    P12,
    P13,
    P14,
    P15,
    Undefined,
    All,
}

Variants

P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
Undefined
All

Implementations

impl PstateId[src]

pub fn from_raw(raw: NV_GPU_PERF_PSTATE_ID) -> Result<Self, ArgumentRangeError>[src]

pub fn raw(&self) -> NV_GPU_PERF_PSTATE_ID[src]

pub fn values() -> Cloned<Iter<'static, Self>>[src]

Trait Implementations

impl Clone for PstateId[src]

impl Copy for PstateId[src]

impl Debug for PstateId[src]

impl<'de> Deserialize<'de> for PstateId[src]

impl Display for PstateId[src]

impl Eq for PstateId[src]

impl Hash for PstateId[src]

impl Into<i32> for PstateId[src]

impl Ord for PstateId[src]

impl PartialEq<PstateId> for PstateId[src]

impl PartialOrd<PstateId> for PstateId[src]

impl Serialize for PstateId[src]

impl StructuralEq for PstateId[src]

impl StructuralPartialEq for PstateId[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToString for T where
    T: Display + ?Sized
[src]

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.