pub enum DpmForcedLevel {
Auto,
Manual,
Low,
High,
ProfileStandard,
ProfileMinSclk,
ProfileMinMclk,
ProfilePeak,
ProfileExit,
PerfDeterminism,
}
Variants§
Auto
Manual
Low
High
ProfileStandard
ProfileMinSclk
ProfileMinMclk
ProfilePeak
ProfileExit
PerfDeterminism
Implementations§
Source§impl DpmForcedLevel
impl DpmForcedLevel
pub fn get_from_sysfs<P>(sysfs_path: P) -> Result<DpmForcedLevel, Error>
pub const fn to_arg(&self) -> &str
Trait Implementations§
Source§impl Clone for DpmForcedLevel
impl Clone for DpmForcedLevel
Source§fn clone(&self) -> DpmForcedLevel
fn clone(&self) -> DpmForcedLevel
Returns a copy 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 DpmForcedLevel
impl Debug for DpmForcedLevel
Source§impl PartialEq for DpmForcedLevel
impl PartialEq for DpmForcedLevel
impl Copy for DpmForcedLevel
impl Eq for DpmForcedLevel
impl StructuralPartialEq for DpmForcedLevel
Auto Trait Implementations§
impl Freeze for DpmForcedLevel
impl RefUnwindSafe for DpmForcedLevel
impl Send for DpmForcedLevel
impl Sync for DpmForcedLevel
impl Unpin for DpmForcedLevel
impl UnwindSafe for DpmForcedLevel
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