Function from_raw_parts_mut

pub unsafe fn from_raw_parts_mut<T>(data: *mut (), vtable: *const ()) -> *mut T
where T: ?Sized,
Expand description

Create a mutable fat pointer from a data address and a vtable address.

ยงSafety

Must only be called when T is a dyn Trait. The data address must point to a value whose type implements the trait of T and the vtable must have been extracted with vtable.