Function
perform_calculation
Takes an immutable trait object reference
(calc: &dyn Calculator, x: i32, y: i32)
Source from the content-addressed store, hash-verified
| 73 | |
| 74 | struct I32Source { |
| 75 | next: i32, |
| 76 | } |
| 77 | |
| 78 | impl DynSource for I32Source { |
| 79 | type Item = i32; |
| 80 | |
Tested by
no test coverage detected