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

Method score

tests/binary/modules/src/main.rs:79–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77 }
78
79 pub fn score(self) -> u32 {
80 let base = self.left.protons + self.right.protons;
81 match self.kind {
82 BondKind::Single => base,
83 BondKind::Double => base * 2,
84 }
85 }
86 }
87
88 pub fn make_bond(left: Atom, right: Atom, kind: BondKind) -> Bond {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected