pub fn element_count(shape: &[usize]) -> Result<usize, Error>
The number of items in an array of shape. A Limit error when shape has more than MAX_RANK axes, or more items than a usize counts.
shape
MAX_RANK
usize