Function rawpointer::ptrdistance [−][src]
pub fn ptrdistance<T>(start: *const T, end: *const T) -> usize
Expand description
Return the number of elements of T
from start
to end
.
Return the arithmetic difference if T
is zero size.