Struct measurements::TorqueEnergy[][src]

pub struct TorqueEnergy { /* fields omitted */ }

If you multiply a Force by a Length, we can't tell if you're pushing something along (which requires Energy) or rotating something (which creates a Torque). This struct is what results from the multiplication, and you have to then convert it to whichever you want.

Trait Implementations

impl From<TorqueEnergy> for Torque
[src]

Performs the conversion.

impl From<TorqueEnergy> for Energy
[src]

Performs the conversion.

impl Measurement for TorqueEnergy
[src]

Get this quantity in the base units

Create a new quantity from the base units

Return the base unit for this type, as a string. For example "kilograms" Read more

Returns a string containing the most appropriate units for this quantity, and a floating point value representing this quantity in those units. Useful when, for example, a length might be in millimeters if it is very small, or kilometers when it is very large. Read more

Given a list of units and their scale relative to the base unit, select the most appropriate one. Read more

impl Div<Length> for TorqueEnergy
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Div<Force> for TorqueEnergy
[src]

The resulting type after applying the / operator.

Performs the / operation.

Auto Trait Implementations