[][src]Trait objc::MessageArguments

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

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

Required methods

unsafe fn invoke<R>(imp: Imp, obj: *mut Object, sel: Sel, args: Self) -> R where
    R: Any

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.

Loading content...

Implementations on Foreign Types

impl MessageArguments for ()[src]

impl<A> MessageArguments for (A,)[src]

impl<A, B> MessageArguments for (A, B)[src]

impl<A, B, C> MessageArguments for (A, B, C)[src]

impl<A, B, C, D> MessageArguments for (A, B, C, D)[src]

impl<A, B, C, D, E> MessageArguments for (A, B, C, D, E)[src]

impl<A, B, C, D, E, F> MessageArguments for (A, B, C, D, E, F)[src]

impl<A, B, C, D, E, F, G> MessageArguments for (A, B, C, D, E, F, G)[src]

impl<A, B, C, D, E, F, G, H> MessageArguments for (A, B, C, D, E, F, G, H)[src]

impl<A, B, C, D, E, F, G, H, I> MessageArguments for (A, B, C, D, E, F, G, H, I)[src]

impl<A, B, C, D, E, F, G, H, I, J> MessageArguments for (A, B, C, D, E, F, G, H, I, J)[src]

impl<A, B, C, D, E, F, G, H, I, J, K> MessageArguments for (A, B, C, D, E, F, G, H, I, J, K)[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L> MessageArguments for (A, B, C, D, E, F, G, H, I, J, K, L)[src]

Loading content...

Implementors

Loading content...