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