[−][src]Function core::ptr::slice_from_raw_parts_mut
pub fn slice_from_raw_parts_mut<T>(data: *mut T, len: usize) -> *mut [T]
🔬 This is a nightly-only experimental API. (slice_from_raw_parts
#36925)
recently added
Performs the same functionality as from_raw_parts
, except that a
mutable slice is returned.
See the documentation of from_raw_parts
for more details.