1 2 3 4 5 6 7
use rust_macios::foundation::NSProcessInfo; fn main() { let thermal_state = NSProcessInfo::process_info().thermal_state(); println!("{thermal_state:?}"); }