pub struct PowerInfoEntry {
pub pstate: PState,
pub range: Range<Percentage1000>,
pub default_limit: Percentage1000,
}Fields§
§pstate: PState§range: Range<Percentage1000>§default_limit: Percentage1000Trait Implementations§
Source§impl Clone for PowerInfoEntry
impl Clone for PowerInfoEntry
Source§fn clone(&self) -> PowerInfoEntry
fn clone(&self) -> PowerInfoEntry
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 PowerInfoEntry
impl Debug for PowerInfoEntry
Source§impl<'de> Deserialize<'de> for PowerInfoEntry
impl<'de> Deserialize<'de> for PowerInfoEntry
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 Hash for PowerInfoEntry
impl Hash for PowerInfoEntry
Source§impl Ord for PowerInfoEntry
impl Ord for PowerInfoEntry
Source§fn cmp(&self, other: &PowerInfoEntry) -> Ordering
fn cmp(&self, other: &PowerInfoEntry) -> 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 PowerInfoEntry
impl PartialEq for PowerInfoEntry
Source§impl PartialOrd for PowerInfoEntry
impl PartialOrd for PowerInfoEntry
Source§impl Serialize for PowerInfoEntry
impl Serialize for PowerInfoEntry
impl Copy for PowerInfoEntry
impl Eq for PowerInfoEntry
impl StructuralPartialEq for PowerInfoEntry
Auto Trait Implementations§
impl Freeze for PowerInfoEntry
impl RefUnwindSafe for PowerInfoEntry
impl Send for PowerInfoEntry
impl Sync for PowerInfoEntry
impl Unpin for PowerInfoEntry
impl UnwindSafe for PowerInfoEntry
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