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

Method manhattan

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

Source from the content-addressed store, hash-verified

125 }
126
127 pub fn manhattan(self) -> i32 {
128 self.x + self.y
129 }
130
131 pub fn translated(self, dx: i32, dy: i32) -> Point {
132 Point {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected