pub const fn from_raw_parts_mut<T>(
data_pointer: *mut impl Thin,
metadata: <T as Pointee>::Metadata,
) -> *mut Twhere
T: ?Sized,
ptr_metadata #81513)
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.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/ptr/fn.from_raw_parts_mut.html