Skip to main content

tiling_order

Function tiling_order 

Source
pub fn tiling_order(tiling: &str) -> Option<u32>
Expand description

Map a tiling name to its star order n. Accepts a few named/numeric regular tilings (the v1 set); returns None for anything else so the loader can reject it.

none is not answered here: it selects no interlace at all, and this function’s answer is an order. The loader takes that case before asking.