pub fn layer_index(name: &str) -> Option<usize>
2026-09-25: The number after the first layers segment, or None when it is absent or not a number (as in the fixture’s layers.N.).
layers
None
layers.N.