NdArrayDimFn

Type Alias NdArrayDimFn 

Source
pub type NdArrayDimFn = unsafe fn(array: PtrConst, i: usize) -> Option<usize>;
Expand description

Get the i-th dimension in the array, or None if the dimension index is out of bounds.

ยงSafety

The array parameter must point to aligned, initialized memory of the correct type.