pub struct Energy;Expand description
An energy.
Implementations§
Source§impl Energy
impl Energy
Sourcepub const fn joules(value: TensorRank0) -> Quantity<Energy>
pub const fn joules(value: TensorRank0) -> Quantity<Energy>
A quantity of joules.
Sourcepub const fn millijoules(value: TensorRank0) -> Quantity<Energy>
pub const fn millijoules(value: TensorRank0) -> Quantity<Energy>
A quantity of millijoules.
Sourcepub const fn kilojoules(value: TensorRank0) -> Quantity<Energy>
pub const fn kilojoules(value: TensorRank0) -> Quantity<Energy>
A quantity of kilojoules.
Sourcepub const fn electronvolts(value: TensorRank0) -> Quantity<Energy>
pub const fn electronvolts(value: TensorRank0) -> Quantity<Energy>
A quantity of electronvolts.
Trait Implementations§
Source§impl UnitDiv<Energy> for Area
impl UnitDiv<Energy> for Area
Source§type Output = ReciprocalForcePerLength
type Output = ReciprocalForcePerLength
The unit of the quotient.
Source§impl UnitDiv<Energy> for ForcePerLength
impl UnitDiv<Energy> for ForcePerLength
Source§type Output = ReciprocalArea
type Output = ReciprocalArea
The unit of the quotient.
Source§impl UnitDiv<Energy> for MolarEnergy
impl UnitDiv<Energy> for MolarEnergy
Source§type Output = ReciprocalAmount
type Output = ReciprocalAmount
The unit of the quotient.
Source§impl UnitHalves for Energy
impl UnitHalves for Energy
Source§impl UnitMul<Energy> for ReciprocalAmount
impl UnitMul<Energy> for ReciprocalAmount
Source§type Output = MolarEnergy
type Output = MolarEnergy
The unit of the product.
Source§impl UnitMul<Energy> for ReciprocalArea
impl UnitMul<Energy> for ReciprocalArea
Source§type Output = ForcePerLength
type Output = ForcePerLength
The unit of the product.
Source§impl UnitMul<Energy> for ReciprocalForcePerLength
impl UnitMul<Energy> for ReciprocalForcePerLength
Source§impl UnitMul<ReciprocalAmount> for Energy
impl UnitMul<ReciprocalAmount> for Energy
Source§type Output = MolarEnergy
type Output = MolarEnergy
The unit of the product.
Source§impl UnitMul<ReciprocalArea> for Energy
impl UnitMul<ReciprocalArea> for Energy
Source§type Output = ForcePerLength
type Output = ForcePerLength
The unit of the product.
Source§impl UnitMul<ReciprocalForcePerLength> for Energy
impl UnitMul<ReciprocalForcePerLength> for Energy
impl Copy for Energy
impl Eq for Energy
impl StructuralPartialEq for Energy
impl Unit for Energy
Auto Trait Implementations§
impl Freeze for Energy
impl RefUnwindSafe for Energy
impl Send for Energy
impl Sync for Energy
impl Unpin for Energy
impl UnsafeUnpin for Energy
impl UnwindSafe for Energy
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