Trait objc2_foundation::NSPortDelegate

source ·
pub unsafe trait NSPortDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn handlePortMessage(&self, message: &NSPortMessage)
       where Self: Sized + Message { ... }
}
Available on crate feature NSPort only.

Provided Methods§

source

unsafe fn handlePortMessage(&self, message: &NSPortMessage)
where Self: Sized + Message,

Available on crate feature NSPortMessage only.

Trait Implementations§

source§

impl ProtocolType for dyn NSPortDelegate

source§

const NAME: &'static str = "NSPortDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSPortDelegate

Implementations on Foreign Types§

source§

impl<T> NSPortDelegate for ProtocolObject<T>
where T: ?Sized + NSPortDelegate,

Implementors§