Module system

Module system 

Source
Expand description

The measurement system used in this crate. A redefinition of the important SI units for them to be stored in a more sensible base unit for MS purposes.

Re-exports§

pub use self::f64::*;

Modules§

charge
The charge quantity in atomic units of charge aka electrons
f64
The whole system with f64 as storage type
fmt
Utilities for formatting and printing quantities.
isize
All quantities with isize as underlying type
mass
The mass quantity in dalton
mass_over_charge
The mass over charge quantity
ratio
A unit less quantity for use in general calculations
time
The time quantity in seconds
usize
All quantities with usize as underlying type

Structs§

OrderedMass
A wrapper around Mass which implements Eq/Ord/Hash to help in auto deriving these on other structs.
OrderedMassOverCharge
A wrapper around Mass which implements Eq/Ord/Hash to help in auto deriving these on other structs.
OrderedRatio
A wrapper around Ratio which implements Eq/Ord/Hash to help in auto deriving these on other structs.
OrderedTime
A wrapper around Time which implements Eq/Ord/Hash to help in auto deriving these on other structs.
Quantity
Property of a phenomenon, body or substance, where the property has a magnitude that can be expressed as a number and a reference.

Traits§

Dimension
Marker trait to express the dependence of a quantity on the base quantities of a system of quantities as a product of powers of factors corresponding to the base quantities, omitting any numerical factor.
Unit
Trait to identify measurement units of individual quantities.
Units
Marker trait to identify a system of units based on a set of base units of a system of quantities.

Type Aliases§

DimensionOne
Type alias for dimension one for which all the exponents of the factors corresponding to the base quantities are zero.
U
Units