most efficient way to compute perimeter
(&self)
| 35 | impl Perimeter for Circle { |
| 36 | /// most efficient way to compute perimeter |
| 37 | fn circumference(&self) -> f64 { |
| 38 | std::f64::consts::PI * 2. * self.radius |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /// Square object, coords and sidelength as properties |
nothing calls this directly
no outgoing calls
no test coverage detected