Compile-time function to get the index of the give element.
Performs a linear scan, returning the index of the first occurrence of the specified element in the array, or U.max if the array does not contain the element.
the array to get the index of the element from
the element to find
the index of the element or size_t.max if the element was not found.
See Implementation
Compile-time function to get the index of the give element.
Performs a linear scan, returning the index of the first occurrence of the specified element in the array, or U.max if the array does not contain the element.