Trait objc2::MessageArguments[][src]

pub trait MessageArguments: Sized {
    unsafe fn invoke<R>(imp: Imp, obj: *mut Object, sel: Sel, args: Self) -> R
    where
        R: Any
; }
Expand description

Types that may be used as the arguments of an Objective-C message.

Required methods

Invoke an Imp with the given object, selector, and arguments.

This method is the primitive used when sending messages and should not be called directly; instead, use the msg_send! macro or, in cases with a dynamic selector, the Message::send_message method.

Implementations on Foreign Types

Implementors