1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-chem-core/src/elements.rs
Items
struct Element const DEFAULT_COVALENT_RADIUS const DEFAULT_VDW_RADIUS const DEFAULT_CPK_COLOR const CV const VW const GREY macro rgb macro e static ELEMENTS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 7 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| elementsrc/elements.rs:209 | fn | 4 | 1 | 8 | 0 | 6.2 | |
| element_by_symbolsrc/elements.rs:217 | fn | 7 | 3 | 4 | 0 | 2.3 | |
| table_is_indexed_by_atomic_numbersrc/elements.rs:231 | fn | 8 | 2 | 0 | 1 | 0.5 | |
| symbols_and_names_are_uniquesrc/elements.rs:241 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| every_row_has_positive_physical_values_and_unit_colourssrc/elements.rs:249 | fn | 8 | 2 | 0 | 0 | 0.5 | |
| lookups_by_number_and_symbolsrc/elements.rs:259 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| colours_come_from_the_hex_valuessrc/elements.rs:278 | fn | 9 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.