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