pub struct MegaParsec(pub f64);Tuple Fields§
§0: f64Trait Implementations§
Source§impl<T: Length + Unit> AddAssign<&T> for MegaParsec
impl<T: Length + Unit> AddAssign<&T> for MegaParsec
Source§fn add_assign(&mut self, other: &T)
fn add_assign(&mut self, other: &T)
Performs the
+= operation. Read moreSource§impl Clone for MegaParsec
impl Clone for MegaParsec
Source§fn clone(&self) -> MegaParsec
fn clone(&self) -> MegaParsec
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 MegaParsec
impl Debug for MegaParsec
Source§impl Default for MegaParsec
impl Default for MegaParsec
Source§fn default() -> MegaParsec
fn default() -> MegaParsec
Returns the “default value” for a type. Read more
Source§impl Display for MegaParsec
impl Display for MegaParsec
Source§impl Div<f64> for MegaParsec
impl Div<f64> for MegaParsec
Source§impl DivAssign<f64> for MegaParsec
impl DivAssign<f64> for MegaParsec
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl Length for MegaParsec
impl Length for MegaParsec
Source§fn multiply(&self, rhs: &dyn Length) -> SquareMeter
fn multiply(&self, rhs: &dyn Length) -> SquareMeter
Multiply two units of length.
Source§fn multiply_area(&self, rhs: &dyn Area) -> CubicMeter
fn multiply_area(&self, rhs: &dyn Area) -> CubicMeter
Multiply a unit of length with a unit of area.
Source§fn divide_time(&self, rhs: &dyn Time) -> MeterPerSecond
fn divide_time(&self, rhs: &dyn Time) -> MeterPerSecond
Divide a unit of length by a unit of time.
Source§fn divide_velocity(&self, rhs: &dyn Velocity) -> Second
fn divide_velocity(&self, rhs: &dyn Velocity) -> Second
Divide a unit of length by a unit of velocity.
Source§impl Mul<MegaParsec> for f64
impl Mul<MegaParsec> for f64
Source§type Output = MegaParsec
type Output = MegaParsec
The resulting type after applying the
* operator.Source§impl Mul<f64> for MegaParsec
impl Mul<f64> for MegaParsec
Source§impl MulAssign<f64> for MegaParsec
impl MulAssign<f64> for MegaParsec
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl Neg for MegaParsec
impl Neg for MegaParsec
Source§impl PartialEq for MegaParsec
impl PartialEq for MegaParsec
Source§impl PartialOrd for MegaParsec
impl PartialOrd for MegaParsec
Source§impl<T: Length + Unit> SubAssign<&T> for MegaParsec
impl<T: Length + Unit> SubAssign<&T> for MegaParsec
Source§fn sub_assign(&mut self, other: &T)
fn sub_assign(&mut self, other: &T)
Performs the
-= operation. Read moreSource§impl Unit for MegaParsec
impl Unit for MegaParsec
impl Copy for MegaParsec
impl StructuralPartialEq for MegaParsec
Auto Trait Implementations§
impl Freeze for MegaParsec
impl RefUnwindSafe for MegaParsec
impl Send for MegaParsec
impl Sync for MegaParsec
impl Unpin for MegaParsec
impl UnwindSafe for MegaParsec
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