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

Function perform_calculation

tests/binary/traits/src/main.rs:75–77  ·  view source on GitHub ↗

Takes an immutable trait object reference

(calc: &dyn Calculator, x: i32, y: i32)

Source from the content-addressed store, hash-verified

73
74struct I32Source {
75 next: i32,
76}
77
78impl DynSource for I32Source {
79 type Item = i32;
80

Callers 1

mainFunction · 0.85

Calls 1

calculateMethod · 0.80

Tested by

no test coverage detected