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

Function atom_offset

tests/binary/modules/src/main.rs:174–179  ·  view source on GitHub ↗
(atom: chemistry::Atom, offset: i32)

Source from the content-addressed store, hash-verified

172 }
173
174 pub fn atom_offset(atom: chemistry::Atom, offset: i32) -> Point {
175 Point {
176 x: atom.protons as i32,
177 y: offset,
178 }
179 }
180
181 pub fn shape(sides: u32) -> &'static str {
182 if sides == 3 {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected