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