[][src]Struct intel_pstate::PStateValues

pub struct PStateValues {
    pub min_perf_pct: u8,
    pub max_perf_pct: u8,
    pub no_turbo: bool,

A set of pstate values that was retrieved, or is to be set.


min_perf_pct: u8max_perf_pct: u8no_turbo: bool


impl PStateValues[src]

pub fn new(min: u8, max: u8, no_turbo: bool) -> Self[src]

Trait Implementations

impl Clone for PStateValues[src]

impl Copy for PStateValues[src]

impl Debug for PStateValues[src]

impl Default for PStateValues[src]

fn default() -> Self[src]

Return PStateValues { min_perf_pct: Default::default(), max_perf_pct: 100, no_turbo: Default::default() }

impl Eq for PStateValues[src]

impl Hash for PStateValues[src]

impl PartialEq<PStateValues> for PStateValues[src]

impl StructuralEq for PStateValues[src]

impl StructuralPartialEq for PStateValues[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.