pub struct Efficiency(/* private fields */);Expand description
Thermodynamic efficiency (0.0 to 1.0).
Implementations§
Trait Implementations§
Source§impl Clone for Efficiency
impl Clone for Efficiency
Source§fn clone(&self) -> Efficiency
fn clone(&self) -> Efficiency
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Efficiency
impl Debug for Efficiency
Source§impl Default for Efficiency
impl Default for Efficiency
Source§fn default() -> Efficiency
fn default() -> Efficiency
Returns the “default value” for a type. Read more
Source§impl From<Efficiency> for f64
impl From<Efficiency> for f64
Source§fn from(val: Efficiency) -> Self
fn from(val: Efficiency) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Efficiency
impl PartialEq for Efficiency
Source§impl PartialOrd for Efficiency
impl PartialOrd for Efficiency
impl Copy for Efficiency
impl StructuralPartialEq for Efficiency
Auto Trait Implementations§
impl Freeze for Efficiency
impl RefUnwindSafe for Efficiency
impl Send for Efficiency
impl Sync for Efficiency
impl Unpin for Efficiency
impl UnwindSafe for Efficiency
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