pub struct Energy {
pub t: f64,
pub u: f64,
}
Expand description
Stores kinetic and the potential energies.
Fields§
§t: f64
Kinetic energy
u: f64
Potential energy
Auto Trait Implementations§
impl RefUnwindSafe for Energy
impl Send for Energy
impl Sync for Energy
impl Unpin for Energy
impl UnwindSafe for Energy
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