[]Function piston_window::rectangle_from_to

pub fn rectangle_from_to<P, G>(
    color: [f32; 4],
    from: P,
    to: P,
    transform: [[f64; 3]; 2],
    g: &mut G
) where
    G: Graphics,
    P: Into<[f64; 2]>, 

Draws rectangle.