pub struct Amount;Expand description
An amount of substance.
Implementations§
Source§impl Amount
impl Amount
Sourcepub const fn moles(value: TensorRank0) -> Quantity<Amount>
pub const fn moles(value: TensorRank0) -> Quantity<Amount>
A quantity of moles.
Sourcepub const fn millimoles(value: TensorRank0) -> Quantity<Amount>
pub const fn millimoles(value: TensorRank0) -> Quantity<Amount>
A quantity of millimoles.
Trait Implementations§
Source§impl UnitDiv<Amount> for Dimensionless
impl UnitDiv<Amount> for Dimensionless
Source§type Output = ReciprocalAmount
type Output = ReciprocalAmount
The unit of the quotient.
Source§impl UnitHalves for Amount
impl UnitHalves for Amount
Source§impl UnitMul<Amount> for ReciprocalAmount
impl UnitMul<Amount> for ReciprocalAmount
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the product.
Source§impl UnitMul<ReciprocalAmount> for Amount
impl UnitMul<ReciprocalAmount> for Amount
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the product.
impl Copy for Amount
impl Eq for Amount
impl StructuralPartialEq for Amount
impl Unit for Amount
Auto Trait Implementations§
impl Freeze for Amount
impl RefUnwindSafe for Amount
impl Send for Amount
impl Sync for Amount
impl Unpin for Amount
impl UnsafeUnpin for Amount
impl UnwindSafe for Amount
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