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

Method doubled

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

Source from the content-addressed store, hash-verified

212 }
213
214 pub fn doubled(self) -> Point {
215 Point {
216 magnitude: self.magnitude * 2,
217 }
218 }
219
220 pub fn as_math(self) -> crate::maths::Point {
221 crate::maths::Point::new(self.magnitude, self.magnitude + 1)

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected