The Rust Programming Language Forum
Mutidimensional array as parameter
help
Hyeonu
May 5, 2019, 5:28pm
10
We have
vec![]
macro for it!
let v = vec![vec![vec![default_value; depth]; height]; width];
2 Likes
show post in topic
Related Topics
Topic
Replies
Views
Activity
Possible to have a multidimensional array parameter of unknown size?
help
8
4735
January 12, 2023
A question about multidimensional arrays
help
15
1078
September 14, 2023
Create a mutable multi-dimensional array (or vector) of a Struct
help
4
3786
January 27, 2021
2-dimensional Vec
4
1051
February 24, 2021
C++ and Rust Compatibility
help
13
596
November 1, 2022