Skip to content

Instantly share code, notes, and snippets.

fn convert_to_complex<'a, I>(polygons: I) -> Vec<ComplexPolygon>
where I: Iterator<Item = &'a [(i32, i32)]>,
I: Clone
{
...
}
...
static TEST_VERTS: &'static [&'static [(i32, i32)]] =