Trait objc2::declare::MethodImplementation[][src]

pub trait MethodImplementation {
    type Callee: Message;
    type Ret: Encode;
    type Args: EncodeArguments;
    fn imp(self) -> Imp;
}
Expand description

Types that can be used as the implementation of an Objective-C method.

Associated Types

The callee type of the method.

The return type of the method.

The argument types of the method.

Required methods

Returns self as an Imp of a method.

Implementations on Foreign Types

Implementors