pub trait Drawable { // Required methods fn draw(&self); fn area(&self) -> f64; }
A trait for drawable objects