Expand description

Helpers for manipulating fixed-sized arrays.

Functions

  • Asserts that a nested vector Vec<Vec<T>> has the same dimension in its inner vectors.
  • Converts a fixed-sized nested array [[T; SIZE]; SIZE] into a nested vector Vec<Vec<T>>.
  • Map the elements in the fixed-sized array [[T; SIZE]; SIZE].
  • Converts a dynamic-sized vector Vec<T> into a fixed-sized array [T; SIZE]. Fails if the vector is not the same length as SIZE.
  • Converts a dynamic-sized nested vector Vec<Vec<T>> into a fixed-sized nested array [[T; SIZE]; SIZE]. Fails if the nested vector is not of SIZExSIZE length.