Returns an updated layout with the first axis resolved to index.
index
Layout operator [](int index) => elementAt(index);