Then what should this method do on out-of-bounds access (i.e. when the index is too large)? Panic? Resize the Vec up to this index (and then create the struct at it, as if it was in bounds)?
I have a 'ensure_prepared' function which fills the vector with None's and the correct number of entries.
(it is reading some stuff from a directory)
The number of entries is known to caller.