pub struct KmPerSecMpc(pub f64);Expand description
Newtype wrapper around f64 representing a strongly-typed cosmological quantity.
Hubble parameter in km/s/Mpc.
Tuple Fields§
§0: f64Implementations§
Trait Implementations§
Source§impl Add for KmPerSecMpc
impl Add for KmPerSecMpc
Source§impl Clone for KmPerSecMpc
impl Clone for KmPerSecMpc
Source§fn clone(&self) -> KmPerSecMpc
fn clone(&self) -> KmPerSecMpc
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 KmPerSecMpc
impl Debug for KmPerSecMpc
Source§impl Default for KmPerSecMpc
impl Default for KmPerSecMpc
Source§fn default() -> KmPerSecMpc
fn default() -> KmPerSecMpc
Returns the “default value” for a type. Read more
Source§impl Div<f64> for KmPerSecMpc
impl Div<f64> for KmPerSecMpc
Source§impl Mul<KmPerSecMpc> for f64
impl Mul<KmPerSecMpc> for f64
Source§type Output = KmPerSecMpc
type Output = KmPerSecMpc
The resulting type after applying the
* operator.Source§fn mul(self, rhs: KmPerSecMpc) -> KmPerSecMpc
fn mul(self, rhs: KmPerSecMpc) -> KmPerSecMpc
Performs the
* operation. Read moreSource§impl Mul<f64> for KmPerSecMpc
impl Mul<f64> for KmPerSecMpc
Source§impl PartialEq for KmPerSecMpc
impl PartialEq for KmPerSecMpc
Source§impl PartialOrd for KmPerSecMpc
impl PartialOrd for KmPerSecMpc
Source§impl Sub for KmPerSecMpc
impl Sub for KmPerSecMpc
impl Copy for KmPerSecMpc
impl StructuralPartialEq for KmPerSecMpc
Auto Trait Implementations§
impl Freeze for KmPerSecMpc
impl RefUnwindSafe for KmPerSecMpc
impl Send for KmPerSecMpc
impl Sync for KmPerSecMpc
impl Unpin for KmPerSecMpc
impl UnwindSafe for KmPerSecMpc
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