Skip to main content

Mass

Type Alias Mass 

Source
pub type Mass = Qty<0, 1, 0, 0, 0, 0, 0>;
Expand description

Kilograms.

Aliased Type§

pub struct Mass(/* private fields */);

Implementations§

Source§

impl Mass

Source

pub fn kg(v: f64) -> Mass

Kilograms.

Source

pub fn g(v: f64) -> Mass

Grams.

Trait Implementations§

Source§

impl Div<Qty<3, 0, 0, 0, 0, 0, 0>> for Mass

Source§

type Output = Qty<-3, 1, 0, 0, 0, 0, 0>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Volume) -> Density

Performs the / operation. Read more
Source§

impl Div<Qty<-3, 1, 0, 0, 0, 0, 0>> for Mass

Source§

type Output = Qty<3, 0, 0, 0, 0, 0, 0>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Density) -> Volume

Performs the / operation. Read more
Source§

impl Mul<QVec3<1, 0, -1, 0, 0, 0, 0>> for Mass

Source§

type Output = QVec3<1, 1, -1, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, v: VelocityVec) -> MomentumVec

Performs the * operation. Read more
Source§

impl Mul<QVec3<1, 0, -2, 0, 0, 0, 0>> for Mass

Source§

type Output = QVec3<1, 1, -2, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, v: AccelerationVec) -> ForceVec

Performs the * operation. Read more
Source§

impl Mul<Qty<1, 0, -1, 0, 0, 0, 0>> for Mass

Source§

type Output = Qty<1, 1, -1, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Velocity) -> Momentum

Performs the * operation. Read more
Source§

impl Mul<Qty<1, 0, -2, 0, 0, 0, 0>> for Mass

Source§

type Output = Qty<1, 1, -2, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Acceleration) -> Force

Performs the * operation. Read more
Source§

impl Mul<Qty<2, 0, 0, 0, 0, 0, 0>> for Mass

Source§

type Output = Qty<2, 1, 0, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Area) -> MomentOfInertia

Performs the * operation. Read more
Source§

impl Mul<Qty<2, 0, -2, 0, 0, 0, 0>> for Mass

Source§

type Output = Qty<2, 1, -2, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: LatentHeat) -> Energy

Performs the * operation. Read more
Source§

impl Mul<Qty<2, 0, -2, 0, -1, 0, 0>> for Mass

Source§

type Output = Qty<2, 1, -2, 0, -1, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: SpecificHeat) -> HeatCapacity

Performs the * operation. Read more