pub trait HasPerimeter { // Required method fn perimeter(&self) -> f32; }
Shape can calculate it’s own perimeter
Gets perimeter of shape