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

Function axis_value

tests/binary/modules/src/main.rs:167–172  ·  view source on GitHub ↗
(point: Point, axis: Axis)

Source from the content-addressed store, hash-verified

165 }
166
167 pub fn axis_value(point: Point, axis: Axis) -> i32 {
168 match axis {
169 Axis::X => point.x,
170 Axis::Y => point.y,
171 }
172 }
173
174 pub fn atom_offset(atom: chemistry::Atom, offset: i32) -> Point {
175 Point {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected