pub enum PerfStateFlags {
PerfStateInefficient = 1,
}Available on crate feature
dev-energymodel only.Expand description
Flags - defines an integer enumeration, with values for each entry occupying a bit, starting from bit 0, (e.g. 1, 2, 4, 8)
Variants§
PerfStateInefficient = 1
The performance state is inefficient. There is in this perf-domain, another performance state with a higher frequency but a lower or equal power cost.
Implementations§
Source§impl PerfStateFlags
impl PerfStateFlags
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for PerfStateFlags
impl Clone for PerfStateFlags
Source§fn clone(&self) -> PerfStateFlags
fn clone(&self) -> PerfStateFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerfStateFlags
Auto Trait Implementations§
impl Freeze for PerfStateFlags
impl RefUnwindSafe for PerfStateFlags
impl Send for PerfStateFlags
impl Sync for PerfStateFlags
impl Unpin for PerfStateFlags
impl UnsafeUnpin for PerfStateFlags
impl UnwindSafe for PerfStateFlags
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