pub fn execute(shape: Shape, filename: &str, delay: bool) -> String {
    match shape {
        Shape::Polygon => execute_polygon(filename, delay),
        Shape::Circle => execute_circle(filename, delay),
        Shape::Triangle => execute_triangle(filename, delay),
    }
}
/// Calls the execute method depending on the Shape
Calls the execute method depending on the Shape
Calls the execute method depending on the Shape
pub fn execute(shape: Shape, filename: &str, delay: bool) -> String {
    match shape {
        Shape::Polygon => execute_polygon(filename, delay),
        Shape::Circle => execute_circle(filename, delay),
        Shape::Triangle => execute_triangle(filename, delay),
    }
}
pub fn execute ( shape : Shape , filename : & str , delay : bool ) -> String { match shape { Shape :: Polygon => execute_polygon ( filename , delay ) , Shape :: Circle => execute_circle ( filename , delay ) , Shape :: Triangle => execute_triangle ( filename , delay ) , } }
Calls the execute method depending on the Shape
Calls the execute method depending on the Shape
shape
Shape
filename
&str
delay
bool
shape
Shape
filename
&str
delay
bool