The documentation says > `draw_state` draw state, `draw_state::Default::default()` can be used as a default, It should be `draw_state::DrawState::default()` https://docs.piston.rs/piston_window/graphics/rectangle/struct.Rectangle.html#method.draw