pub fn clamp_next(current: usize, len: usize) -> usize
Next index in a list, clamped at len - 1 (no wrapping). Returns 0 if len is 0.
len - 1
len