Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 10
What must you implement to make a custom type usable in a for loop?
A
Clone
B
Index
C
Display
D
Iterator (fn next(&mut self) -> Option<Self::Item>) or IntoIterator