1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! # The `units` module
//!
//! This module contains SI base units and built-in exported and associated units.
//!
//! ## Related features
//!
//! ### Standard units
//!
//! - `exported_types`:
//! All exported units will be available if this feature is enabled.
//! (Enabled by default.)
//! - `associated_types`:
//! All associated units will be available if this feature is enabled.
//! (Disabled by default.)
//! - `all_types`:
//! Enable `exported_types` and `associated_types`.
//! (Disabled by default. Included in the `full` feature.)
//!
//! ### Unit alias
//!
//! - `alias_export`:
//! All aliases are exported directly in the corresponding module.
//! (Enabled by default.)\
//! e.g. `crate::core::units::base::kg`(Kilogram),
//! `crate::core::units::exported::N`(Newton).
//! - `alias_mod`:
//! All aliases are hidden behind a single module inside the corresponding module.\
//! e.g. `crate::core::units::base::aliases::kg`,
//! `crate::core::units::exported::aliases::N`.
//! - `alias_hidden`:
//! Hide all aliases and do not export them.
/// SI base units.
/// SI exported units.
pub
/// Associated units, including non-si units.
pub
/// Primitive configuration and traits of units.