Types that can be used as the implementation of an Objective-C method.
| 43 | |
| 44 | /// Types that can be used as the implementation of an Objective-C method. |
| 45 | pub trait MethodImplementation { |
| 46 | /// The callee type of the method. |
| 47 | type Callee: Message; |
| 48 | /// The return type of the method. |
| 49 | type Ret: Encode; |
| 50 | /// The argument types of the method. |
| 51 | type Args: EncodeArguments; |
| 52 | |
| 53 | /// Returns self as an `Imp` of a method. |
| 54 | fn imp(self) -> Imp; |
| 55 | } |
| 56 | |
| 57 | macro_rules! method_decl_impl { |
| 58 | (-$s:ident, $r:ident, $f:ty, $($t:ident),*) => ( |
nothing calls this directly
no outgoing calls
no test coverage detected