Function from_raw_parts_mut

const fn from_raw_parts_mut<T: PointeeSized, impl Thin: Thin>(data_pointer: *mut impl Thin, metadata: <T as Pointee>::Metadata) -> *mut T

Performs the same functionality as from_raw_parts, except that a raw *mut pointer is returned, as opposed to a raw *const pointer.

See the documentation of from_raw_parts for more details.