Skip to content
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/lib.rs

cre8-chem-core · module crate root · src · 344 lines (265 code, 50 comment) · sha 77582022b94ceb2c

Items

struct Atom enum BondOrder impl BondOrder struct Bond struct Molecule struct RenderAtom const UNKNOWN_ELEMENT_SYMBOL impl Molecule

Functions

By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
Molecule::formulasrc/lib.rs:106method3081112.7
Molecule::validatesrc/lib.rs:183method217402.3
atomsrc/lib.rs:233fn31601.8
Molecule::centroidsrc/lib.rs:151method134401.6
Molecule::molecular_weightsrc/lib.rs:139method91311.2
BondOrder::multiplicitysrc/lib.rs:55method73201.1
Molecule::render_atomssrc/lib.rs:208method191320.8
Molecule::bounding_radiussrc/lib.rs:167method121210.7
hill_order_puts_carbon_then_hydrogen_firstsrc/lib.rs:238fn151020.5
formula_without_carbon_is_fully_alphabeticalsrc/lib.rs:255fn161020.5
unknown_elements_are_listed_last_and_weigh_nothingsrc/lib.rs:273fn51030.5
empty_molecule_has_zero_geometrysrc/lib.rs:280fn81050.5
centroid_radius_and_render_atoms_agreesrc/lib.rs:290fn151040.5
validate_rejects_bad_bonds_and_coordinatessrc/lib.rs:307fn161020.5
bond_order_serializes_lowercase_and_reports_multiplicitysrc/lib.rs:325fn81010.5
molecule_round_trips_through_jsonsrc/lib.rs:335fn91010.5

Source not readable from this process.