pub struct PowerProfileModesTable {
pub modes: BTreeMap<u16, PowerProfile>,
pub value_names: Vec<String>,
pub active: u16,
}
Expand description
Table of predefined power profile modes https://kernel.org/doc/html/latest/gpu/amdgpu/thermal.html#pp-power-profile-mode
Fields§
§modes: BTreeMap<u16, PowerProfile>
List of available modes
value_names: Vec<String>
Names for the values in PowerProfile
active: u16
The currently active mode
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PowerProfileModesTable
impl RefUnwindSafe for PowerProfileModesTable
impl Send for PowerProfileModesTable
impl Sync for PowerProfileModesTable
impl Unpin for PowerProfileModesTable
impl UnwindSafe for PowerProfileModesTable
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