pub struct MoneyPerCapacityPerYear(pub f64);
Expand description
A unit type representing a dimensionless value.
Tuple Fields§
§0: f64
Implementations§
Trait Implementations§
Source§impl Add for MoneyPerCapacityPerYear
impl Add for MoneyPerCapacityPerYear
Source§type Output = MoneyPerCapacityPerYear
type Output = MoneyPerCapacityPerYear
The resulting type after applying the
+
operator.Source§fn add(self, rhs: MoneyPerCapacityPerYear) -> MoneyPerCapacityPerYear
fn add(self, rhs: MoneyPerCapacityPerYear) -> MoneyPerCapacityPerYear
Performs the
+
operation. Read moreSource§impl AddAssign for MoneyPerCapacityPerYear
impl AddAssign for MoneyPerCapacityPerYear
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moreSource§impl ApproxEq for MoneyPerCapacityPerYear
impl ApproxEq for MoneyPerCapacityPerYear
Source§type Margin = F64Margin
type Margin = F64Margin
This type type defines a margin within which two values are to be
considered approximately equal. It must implement
Default
so that
approx_eq()
can be called on unknown types.Source§impl Clone for MoneyPerCapacityPerYear
impl Clone for MoneyPerCapacityPerYear
Source§fn clone(&self) -> MoneyPerCapacityPerYear
fn clone(&self) -> MoneyPerCapacityPerYear
Returns a copy 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 MoneyPerCapacityPerYear
impl Debug for MoneyPerCapacityPerYear
Source§impl<'de> Deserialize<'de> for MoneyPerCapacityPerYear
impl<'de> Deserialize<'de> for MoneyPerCapacityPerYear
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MoneyPerCapacityPerYear
impl Display for MoneyPerCapacityPerYear
Source§impl Div<Dimensionless> for MoneyPerCapacityPerYear
impl Div<Dimensionless> for MoneyPerCapacityPerYear
Source§type Output = MoneyPerCapacityPerYear
type Output = MoneyPerCapacityPerYear
The resulting type after applying the
/
operator.Source§fn div(self, rhs: Dimensionless) -> MoneyPerCapacityPerYear
fn div(self, rhs: Dimensionless) -> MoneyPerCapacityPerYear
Performs the
/
operation. Read moreSource§impl Div for MoneyPerCapacityPerYear
impl Div for MoneyPerCapacityPerYear
Source§type Output = Dimensionless
type Output = Dimensionless
The resulting type after applying the
/
operator.Source§fn div(self, rhs: MoneyPerCapacityPerYear) -> Dimensionless
fn div(self, rhs: MoneyPerCapacityPerYear) -> Dimensionless
Performs the
/
operation. Read moreSource§impl Mul<Capacity> for MoneyPerCapacityPerYear
impl Mul<Capacity> for MoneyPerCapacityPerYear
Source§type Output = MoneyPerYear
type Output = MoneyPerYear
The resulting type after applying the
*
operator.Source§impl Mul<Dimensionless> for MoneyPerCapacityPerYear
impl Mul<Dimensionless> for MoneyPerCapacityPerYear
Source§type Output = MoneyPerCapacityPerYear
type Output = MoneyPerCapacityPerYear
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: Dimensionless) -> MoneyPerCapacityPerYear
fn mul(self, rhs: Dimensionless) -> MoneyPerCapacityPerYear
Performs the
*
operation. Read moreSource§impl Mul<MoneyPerCapacityPerYear> for Capacity
impl Mul<MoneyPerCapacityPerYear> for Capacity
Source§type Output = MoneyPerYear
type Output = MoneyPerYear
The resulting type after applying the
*
operator.Source§fn mul(self, by: MoneyPerCapacityPerYear) -> MoneyPerYear
fn mul(self, by: MoneyPerCapacityPerYear) -> MoneyPerYear
Performs the
*
operation. Read moreSource§impl Mul<MoneyPerCapacityPerYear> for Dimensionless
impl Mul<MoneyPerCapacityPerYear> for Dimensionless
Source§type Output = MoneyPerCapacityPerYear
type Output = MoneyPerCapacityPerYear
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: MoneyPerCapacityPerYear) -> MoneyPerCapacityPerYear
fn mul(self, rhs: MoneyPerCapacityPerYear) -> MoneyPerCapacityPerYear
Performs the
*
operation. Read moreSource§impl Mul<MoneyPerCapacityPerYear> for MoneyPerYear
impl Mul<MoneyPerCapacityPerYear> for MoneyPerYear
Source§impl Mul<MoneyPerYear> for MoneyPerCapacityPerYear
impl Mul<MoneyPerYear> for MoneyPerCapacityPerYear
Source§impl PartialEq for MoneyPerCapacityPerYear
impl PartialEq for MoneyPerCapacityPerYear
Source§impl PartialOrd for MoneyPerCapacityPerYear
impl PartialOrd for MoneyPerCapacityPerYear
Source§impl Serialize for MoneyPerCapacityPerYear
impl Serialize for MoneyPerCapacityPerYear
Source§impl Sub for MoneyPerCapacityPerYear
impl Sub for MoneyPerCapacityPerYear
Source§type Output = MoneyPerCapacityPerYear
type Output = MoneyPerCapacityPerYear
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: MoneyPerCapacityPerYear) -> MoneyPerCapacityPerYear
fn sub(self, rhs: MoneyPerCapacityPerYear) -> MoneyPerCapacityPerYear
Performs the
-
operation. Read moreSource§impl SubAssign for MoneyPerCapacityPerYear
impl SubAssign for MoneyPerCapacityPerYear
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreSource§impl Sum for MoneyPerCapacityPerYear
impl Sum for MoneyPerCapacityPerYear
impl Copy for MoneyPerCapacityPerYear
impl StructuralPartialEq for MoneyPerCapacityPerYear
Auto Trait Implementations§
impl Freeze for MoneyPerCapacityPerYear
impl RefUnwindSafe for MoneyPerCapacityPerYear
impl Send for MoneyPerCapacityPerYear
impl Sync for MoneyPerCapacityPerYear
impl Unpin for MoneyPerCapacityPerYear
impl UnwindSafe for MoneyPerCapacityPerYear
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more