pub struct EnergyAndCapacityPair {
pub capacity: f64,
pub energy: f64,
}Fields§
§capacity: f64§energy: f64Trait Implementations§
Source§impl Clone for EnergyAndCapacityPair
impl Clone for EnergyAndCapacityPair
Source§fn clone(&self) -> EnergyAndCapacityPair
fn clone(&self) -> EnergyAndCapacityPair
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EnergyAndCapacityPair
Source§impl Debug for EnergyAndCapacityPair
impl Debug for EnergyAndCapacityPair
Source§impl Default for EnergyAndCapacityPair
impl Default for EnergyAndCapacityPair
Source§fn default() -> EnergyAndCapacityPair
fn default() -> EnergyAndCapacityPair
Returns the “default value” for a type. Read more
Source§impl PartialEq for EnergyAndCapacityPair
impl PartialEq for EnergyAndCapacityPair
impl StructuralPartialEq for EnergyAndCapacityPair
Auto Trait Implementations§
impl Freeze for EnergyAndCapacityPair
impl RefUnwindSafe for EnergyAndCapacityPair
impl Send for EnergyAndCapacityPair
impl Sync for EnergyAndCapacityPair
impl Unpin for EnergyAndCapacityPair
impl UnsafeUnpin for EnergyAndCapacityPair
impl UnwindSafe for EnergyAndCapacityPair
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