DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
rust get items in a list with index and value
for (i, x) in items.iter().enumerate() { println!("Item {} = {}", i, x); }
PREVIOUS
NEXT
Tagged:
#rust
#items
#list
#index
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit