pub struct PStateLimit {
pub frequency_delta: Option<Range<KilohertzDelta>>,
pub frequency: Range<Kilohertz>,
pub voltage: Range<Microvolts>,
pub voltage_domain: VoltageDomain,
}Fields§
§frequency_delta: Option<Range<KilohertzDelta>>§frequency: Range<Kilohertz>§voltage: Range<Microvolts>§voltage_domain: VoltageDomainTrait Implementations§
Source§impl Clone for PStateLimit
impl Clone for PStateLimit
Source§fn clone(&self) -> PStateLimit
fn clone(&self) -> PStateLimit
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 PStateLimit
impl Debug for PStateLimit
Source§impl<'de> Deserialize<'de> for PStateLimit
impl<'de> Deserialize<'de> for PStateLimit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ClockEntry> for PStateLimit
impl From<ClockEntry> for PStateLimit
Source§fn from(s: ClockEntry) -> Self
fn from(s: ClockEntry) -> Self
Converts to this type from the input type.
Source§impl Hash for PStateLimit
impl Hash for PStateLimit
Source§impl Ord for PStateLimit
impl Ord for PStateLimit
Source§fn cmp(&self, other: &PStateLimit) -> Ordering
fn cmp(&self, other: &PStateLimit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PStateLimit
impl PartialEq for PStateLimit
Source§impl PartialOrd for PStateLimit
impl PartialOrd for PStateLimit
Source§impl Serialize for PStateLimit
impl Serialize for PStateLimit
impl Eq for PStateLimit
impl StructuralPartialEq for PStateLimit
Auto Trait Implementations§
impl Freeze for PStateLimit
impl RefUnwindSafe for PStateLimit
impl Send for PStateLimit
impl Sync for PStateLimit
impl Unpin for PStateLimit
impl UnwindSafe for PStateLimit
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