Trait uefi::proto::ProtocolPointer
source · 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
Object Safety§
This trait is not object safe.