pub struct FlowPerActivity(pub f64);
Expand description
A unit type representing a dimensionless value.
Tuple Fields§
§0: f64
Implementations§
Trait Implementations§
Source§impl Add for FlowPerActivity
impl Add for FlowPerActivity
Source§type Output = FlowPerActivity
type Output = FlowPerActivity
The resulting type after applying the
+
operator.Source§fn add(self, rhs: FlowPerActivity) -> FlowPerActivity
fn add(self, rhs: FlowPerActivity) -> FlowPerActivity
Performs the
+
operation. Read moreSource§impl AddAssign for FlowPerActivity
impl AddAssign for FlowPerActivity
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moreSource§impl ApproxEq for FlowPerActivity
impl ApproxEq for FlowPerActivity
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 FlowPerActivity
impl Clone for FlowPerActivity
Source§fn clone(&self) -> FlowPerActivity
fn clone(&self) -> FlowPerActivity
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 FlowPerActivity
impl Debug for FlowPerActivity
Source§impl<'de> Deserialize<'de> for FlowPerActivity
impl<'de> Deserialize<'de> for FlowPerActivity
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 FlowPerActivity
impl Display for FlowPerActivity
Source§impl Div<Dimensionless> for FlowPerActivity
impl Div<Dimensionless> for FlowPerActivity
Source§type Output = FlowPerActivity
type Output = FlowPerActivity
The resulting type after applying the
/
operator.Source§fn div(self, rhs: Dimensionless) -> FlowPerActivity
fn div(self, rhs: Dimensionless) -> FlowPerActivity
Performs the
/
operation. Read moreSource§impl Div<FlowPerActivity> for MoneyPerActivity
impl Div<FlowPerActivity> for MoneyPerActivity
Source§type Output = MoneyPerFlow
type Output = MoneyPerFlow
The resulting type after applying the
/
operator.Source§fn div(self, rhs: FlowPerActivity) -> MoneyPerFlow
fn div(self, rhs: FlowPerActivity) -> MoneyPerFlow
Performs the
/
operation. Read moreSource§impl Div for FlowPerActivity
impl Div for FlowPerActivity
Source§type Output = Dimensionless
type Output = Dimensionless
The resulting type after applying the
/
operator.Source§fn div(self, rhs: FlowPerActivity) -> Dimensionless
fn div(self, rhs: FlowPerActivity) -> Dimensionless
Performs the
/
operation. Read moreSource§impl Mul<Activity> for FlowPerActivity
impl Mul<Activity> for FlowPerActivity
Source§impl Mul<Dimensionless> for FlowPerActivity
impl Mul<Dimensionless> for FlowPerActivity
Source§type Output = FlowPerActivity
type Output = FlowPerActivity
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: Dimensionless) -> FlowPerActivity
fn mul(self, rhs: Dimensionless) -> FlowPerActivity
Performs the
*
operation. Read moreSource§impl Mul<Flow> for FlowPerActivity
impl Mul<Flow> for FlowPerActivity
Source§impl Mul<FlowPerActivity> for Activity
impl Mul<FlowPerActivity> for Activity
Source§impl Mul<FlowPerActivity> for Dimensionless
impl Mul<FlowPerActivity> for Dimensionless
Source§type Output = FlowPerActivity
type Output = FlowPerActivity
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: FlowPerActivity) -> FlowPerActivity
fn mul(self, rhs: FlowPerActivity) -> FlowPerActivity
Performs the
*
operation. Read moreSource§impl Mul<FlowPerActivity> for Flow
impl Mul<FlowPerActivity> for Flow
Source§impl Mul<FlowPerActivity> for MoneyPerFlow
impl Mul<FlowPerActivity> for MoneyPerFlow
Source§type Output = MoneyPerActivity
type Output = MoneyPerActivity
The resulting type after applying the
*
operator.Source§fn mul(self, by: FlowPerActivity) -> MoneyPerActivity
fn mul(self, by: FlowPerActivity) -> MoneyPerActivity
Performs the
*
operation. Read moreSource§impl Mul<MoneyPerFlow> for FlowPerActivity
impl Mul<MoneyPerFlow> for FlowPerActivity
Source§type Output = MoneyPerActivity
type Output = MoneyPerActivity
The resulting type after applying the
*
operator.Source§fn mul(self, by: MoneyPerFlow) -> MoneyPerActivity
fn mul(self, by: MoneyPerFlow) -> MoneyPerActivity
Performs the
*
operation. Read moreSource§impl PartialEq for FlowPerActivity
impl PartialEq for FlowPerActivity
Source§impl PartialOrd for FlowPerActivity
impl PartialOrd for FlowPerActivity
Source§impl Serialize for FlowPerActivity
impl Serialize for FlowPerActivity
Source§impl Sub for FlowPerActivity
impl Sub for FlowPerActivity
Source§type Output = FlowPerActivity
type Output = FlowPerActivity
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: FlowPerActivity) -> FlowPerActivity
fn sub(self, rhs: FlowPerActivity) -> FlowPerActivity
Performs the
-
operation. Read moreSource§impl SubAssign for FlowPerActivity
impl SubAssign for FlowPerActivity
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreSource§impl Sum for FlowPerActivity
impl Sum for FlowPerActivity
impl Copy for FlowPerActivity
impl StructuralPartialEq for FlowPerActivity
Auto Trait Implementations§
impl Freeze for FlowPerActivity
impl RefUnwindSafe for FlowPerActivity
impl Send for FlowPerActivity
impl Sync for FlowPerActivity
impl Unpin for FlowPerActivity
impl UnwindSafe for FlowPerActivity
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