Constructor
(length: f32, width: f32)
| 699 | impl Shape for Rectangle{ |
| 700 | // Constructor |
| 701 | fn new(length: f32, width: f32) -> Rectangle { |
| 702 | return Rectangle{length, width}; |
| 703 | } |
| 704 | |
| 705 | // self allows us to refer to parameters for this struct |
| 706 | fn area(&self) -> f32{ |
nothing calls this directly
no outgoing calls
no test coverage detected