Function core::slice::raw::mut_buf_as_slice[src]

pub unsafe fn mut_buf_as_slice<T, U>(p: *mut T, len: uint, f: |v: &mut [T]| -> U) -> U

Form a slice from a pointer and length (as a number of units, not bytes).