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