Is it correct that all of these need to have sizes known at compile time?
- array items
- tuple items
-
Vec
items -
HashSet
items -
HashMap
keys and values
IIUC, in order to put items whose sizes are not known at compile time into these, one approach is to put each item in Box
.
Assuming all of this is true, what is it in the documentation for these types that tells me this?
For example, I don't see anything about it here: array - Rust