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