@use crate::models::Coord; @(coords: &[(Coord, i32)]) @if let Some(((c, p), rest)) = coords.split_first() { data-positions="[[@c.x,@c.y,@p]@for (c,p) in rest {,[@c.x,@c.y,@p]}]"}