I need to store (and access and mutate) a lot of n-dimension points of type
T: Sized, where n is dynamic (so I cannot use arrays, tuples, structs).
Since all the points have the same dimension, I don't need to store the length of each point, so I would prefer to avoid everything that contains the length (
Vec, slice, pointer). I think the ideal would be a reference without size.
If it's possible, what is the best way?