#17 Doc grid size limit
This commit is contained in:
parent
4aa88f4a65
commit
d3942d37ff
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ macro_rules! grid {
|
|||
/// Uses a rust `Vec<T>` type to reference the grid data on the heap.
|
||||
/// Also the number of rows and columns are stored in the grid data structure.
|
||||
///
|
||||
/// The size limit of a grid is `rows * cols < usize`.
|
||||
///
|
||||
/// The grid data is stored in a row-major memory layout.
|
||||
pub struct Grid<T> {
|
||||
data: Vec<T>,
|
||||
|
|
Loading…
Reference in a new issue