pub struct EnergyTracker {
samples: Vec<(f64, f64)>,
}Expand description
Track energy consumption over time.
Fields§
§samples: Vec<(f64, f64)>Implementations§
Source§impl EnergyTracker
impl EnergyTracker
Auto Trait Implementations§
impl Freeze for EnergyTracker
impl RefUnwindSafe for EnergyTracker
impl Send for EnergyTracker
impl Sync for EnergyTracker
impl Unpin for EnergyTracker
impl UnwindSafe for EnergyTracker
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