Types that may be used as the arguments of an Objective-C message.
| 109 | |
| 110 | /// Types that may be used as the arguments of an Objective-C message. |
| 111 | pub trait MessageArguments: Sized { |
| 112 | /// Invoke an `Imp` with the given object, selector, and arguments. |
| 113 | /// |
| 114 | /// This method is the primitive used when sending messages and should not |
| 115 | /// be called directly; instead, use the `msg_send!` macro or, in cases |
| 116 | /// with a dynamic selector, the `Message::send_message` method. |
| 117 | unsafe fn invoke<R>(imp: Imp, obj: *mut Object, sel: Sel, args: Self) -> R |
| 118 | where R: Any; |
| 119 | } |
| 120 | |
| 121 | macro_rules! message_args_impl { |
| 122 | ($($a:ident : $t:ident),*) => ( |
nothing calls this directly
no outgoing calls
no test coverage detected