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
Display
B
Clone
C
Index
D
Iterator (fn next(&mut self) -> Option<Self::Item>) or IntoIterator