Rust map with index. enumerate() { println!("Index: {}, Value: {}", i, x); } Output ...