Module ibc_test_framework::util::array  
source · Expand description
Helpers for manipulating fixed-sized arrays.
Functions
- Asserts that a nested vectorVec<Vec<T>>has the same dimension in its inner vectors.
- Converts a fixed-sized nested array[[T; SIZE]; SIZE]into a nested vectorVec<Vec<T>>.
- Map the elements in the fixed-sized array[[T; SIZE]; SIZE].
- Converts a dynamic-sized vectorVec<T>into a fixed-sized array[T; SIZE]. Fails if the vector is not the same length asSIZE.
- Converts a dynamic-sized nested vectorVec<Vec<T>>into a fixed-sized nested array[[T; SIZE]; SIZE]. Fails if the nested vector is not ofSIZExSIZElength.