pub unsafe trait PFN {
const NAME_CSTR: &'static CStr;
// Required methods
unsafe fn from_ptr(p: *const c_void) -> Self;
unsafe fn from_void_fn(p: PFN_vkVoidFunction) -> Self;
}Required Associated Constants§
Required Methods§
unsafe fn from_ptr(p: *const c_void) -> Self
unsafe fn from_void_fn(p: PFN_vkVoidFunction) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.