[src]

Module std::slice::raw

Unsafe operations

buf_as_slice

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

from_buf_raw

Constructs a vector from an unsafe pointer to a buffer

mut_buf_as_slice

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

pop_ptr

Returns a pointer to last element in slice and adjusts slice so it no longer contains that element. Fails if slice is empty. O(1).

shift_ptr

Returns a pointer to first element in slice and adjusts slice so it no longer contains that element. Fails if slice is empty. O(1).