Function std::ptr::offset

pub unsafe fn offset<T>(ptr: *T, count: int) -> *T

Calculate the offset from a pointer