pub trait FromRaw<T> { unsafe fn from_raw<'a>(raw: *mut c_void) -> &'a mut T { ... } }
Helper trait to convert a raw *mut c_void to it’s rust type
*mut c_void
Converts the specified *mut c_void to a &'a mut T.
&'a mut T
This function is unsafe due to the dereference of the specified raw pointer.