Module std::slice::rawDeprecated [-]  [+] [src]

Deprecated, unsafe operations

Functions

buf_as_slice

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

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. Returns None if the 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. Returns None if the slice is empty. O(1).