pub unsafe trait ToVoid<T> {
// Required method
fn to_void(&self) -> *const c_void;
}Expand description
A trait describing how to convert from the stored *const c_void to the desired T
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".