Function std::ptr::mut_offset

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

Calculate the offset from a mut pointer. The count must be in bounds or otherwise the loads of this address are undefined.