[][src]Function conrod_core::widget::primitive::shape::rectangle::triangles

pub fn triangles(rect: Rect) -> (Triangle<Point>, Triangle<Point>)

The two triangles that describe the given Rect.