pub unsafe trait NSMachPortDelegate: NSPortDelegate {
// Provided method
unsafe fn handleMachMessage(&self, msg: NonNull<c_void>)
where Self: Sized + Message { ... }
}Available on crate feature
NSPort only.Expand description
Provided Methods§
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSMachPortDelegate
Source§impl ProtocolType for dyn NSMachPortDelegate
impl ProtocolType for dyn NSMachPortDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".