pub trait ProtocolPointer: Protocol {
// Required methods
unsafe fn ptr_from_ffi(ptr: *const c_void) -> *const Self;
unsafe fn mut_ptr_from_ffi(ptr: *mut c_void) -> *mut Self;
}
Expand description
Required Methods§
Sourceunsafe fn ptr_from_ffi(ptr: *const c_void) -> *const Self
unsafe fn ptr_from_ffi(ptr: *const c_void) -> *const 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.