pub struct Config {
pub acpi_path: PathBuf,
pub show_battery: bool,
pub show_ac_adapter: bool,
pub show_thermal_sensors: bool,
pub show_cooling_devices: bool,
pub detailed: bool,
pub units: Units,
}Fields§
§acpi_path: PathBuf§show_battery: bool§show_ac_adapter: bool§show_thermal_sensors: bool§show_cooling_devices: bool§detailed: bool§units: UnitsAuto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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