pub unsafe trait FromMutVoid {
// Required method
unsafe fn from_mut_void<'a>(x: *mut c_void) -> ItemMutRef<'a, Self>
where Self: Sized;
}Expand description
A trait describing how to convert from the stored *mut c_void to the desired T
Required Methods§
unsafe fn from_mut_void<'a>(x: *mut c_void) -> ItemMutRef<'a, Self>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".