pub unsafe trait EncodeArguments: Sealed {
    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 of up to 12 arguments, where each argument implements Encode. It is primarily used to make generic code easier.

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

Safety

This is a sealed trait, and should not need to be implemented. Open an issue if you know a use-case where this restrition should be lifted!

Required Associated Constants

The encodings for the arguments.

Implementations on Foreign Types

Implementors