Trait objc2_encode::EncodeArguments[][src]

pub unsafe trait EncodeArguments {
    const ENCODINGS: &'static [Encoding<'static>];
}
Expand description

Types that represent an ordered group of function arguments, where each argument has an Objective-C type-encoding.

This is implemented for tuples, and is used to make generic code easier.

Note that tuples themselves don’t implement Encode directly because they’re not FFI-safe.

Safety

You should not need to implement this. Open an issue if you know a use-case where this restrition should be lifted!

Associated Constants

The encodings for the arguments.

Implementations on Foreign Types

Implementors