NdArrayByteStrideFn

Type Alias NdArrayByteStrideFn 

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

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

ยงSafety

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