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