MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / make_bond

Function make_bond

tests/binary/modules/src/main.rs:88–90  ·  view source on GitHub ↗
(left: Atom, right: Atom, kind: BondKind)

Source from the content-addressed store, hash-verified

86 }
87
88 pub fn make_bond(left: Atom, right: Atom, kind: BondKind) -> Bond {
89 Bond { left, right, kind }
90 }
91
92 pub fn bond_score(bond: Bond) -> u32 {
93 let base = bond.left.protons + bond.right.protons;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected