All the collections implemented in std use a global dynamic memory ... allocate the collection on a static variable, or even on the heap ( Box<Vec<_, _>> ).
確定! 回上一頁