Expand description
Free functions to create &[T]
and &mut [T]
.
Functions§
- from_
mut - Converts a reference to T into a slice of length 1 (without copying).
- from_
raw_ ⚠parts - Forms a slice from a pointer and a length.
- from_
raw_ ⚠parts_ mut - Performs the same functionality as
from_raw_parts
, except that a mutable slice is returned. - from_
ref - Converts a reference to T into a slice of length 1 (without copying).
- from_
mut_ ⚠ptr_ range Experimental - Forms a mutable slice from a pointer range.
- from_
ptr_ ⚠range Experimental - Forms a slice from a pointer range.