Function collections::slice::raw::buf_as_slice[src]
pub unsafe fn buf_as_slice<T, U>(p: *T, len: uint, f: |&[T]| -> U) -> U
Form a slice from a pointer and length (as a number of units, not bytes).
pub unsafe fn buf_as_slice<T, U>(p: *T, len: uint, f: |&[T]| -> U) -> U
Form a slice from a pointer and length (as a number of units, not bytes).
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).