from_raw_parts_mut in std::ptr - Rust
Description: Performs the same functionality as [`from_raw_parts`], except that a raw `*mut` pointer is returned, as opposed to a raw `*const` pointer.
Keywords: rust, rustlang, rust-lang, from_raw_parts_mut

# Function std::ptr::from_raw_parts_mut
[−][src]

    pub fn from_raw_parts_mut<T>(
        data_address: *mut (),
        metadata: <T as Pointee>::Metadata
    ) -> *mut T where
        T: ?Sized,

🔬 This is a nightly-only experimental API. (`ptr_metadata` #81513)
Expand description

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.