Crate dimensioned [−] [src]
dimensioned
dimensioned is a library for compile time type checking for arbitrary unit systems.
For in depth tutorials, check here.
Reexports
pub use dimensioned::*; |
Modules
| cgs |
The cgs module provides a unit system for use with Gaussian CGS units. It was
generated using the |
| dimensioned |
This module allows dimensioned to be very flexible. It creates the |
| peano |
Peano numbers allow us to do arithmetic at compile time using Rust's type system. |
| si |
The si module provides a unit system for use with SI units. It was generated using
the |
Macros
| count_args! |
Counts the number of arguments its called with and gives you the total. |
| dim_impl_binary! |
Used for implementing binary members of |
| dim_impl_unary! |
Used for implementing unary members of |
| make_units! |
Create a unit system. |
| make_units_adv! |
Create a unit system with more flexibility than |