Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 10
Why can't you derive Copy for a struct containing a String?
A
Structs can't be Copy
B
Copy is only for enums
C
String is too large
D
Copy requires all fields be Copy; String owns heap memory and needs a real clone