pub trait EncodeArguments {
    type Encs: AsRef<[Encoding]>;

    // Required method
    fn encodings() -> Self::Encs;
}
Expand description

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

Required Associated Types§

source

type Encs: AsRef<[Encoding]>

The type as which the encodings for Self will be returned.

Required Methods§

source

fn encodings() -> Self::Encs

Returns the Objective-C type encodings for Self.

Implementations on Foreign Types§

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode, E: Encode, F: Encode, G: Encode, H: Encode, I: Encode, J: Encode, K: Encode, L: Encode> EncodeArguments for (A, B, C, D, E, F, G, H, I, J, K, L)

§

type Encs = [Encoding; 12]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode, E: Encode, F: Encode, G: Encode, H: Encode, I: Encode, J: Encode> EncodeArguments for (A, B, C, D, E, F, G, H, I, J)

§

type Encs = [Encoding; 10]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode, E: Encode, F: Encode, G: Encode> EncodeArguments for (A, B, C, D, E, F, G)

§

type Encs = [Encoding; 7]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode> EncodeArguments for (A, B, C)

§

type Encs = [Encoding; 3]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode> EncodeArguments for (A,)

§

type Encs = [Encoding; 1]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode> EncodeArguments for (A, B)

§

type Encs = [Encoding; 2]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode> EncodeArguments for (A, B, C, D)

§

type Encs = [Encoding; 4]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode, E: Encode, F: Encode, G: Encode, H: Encode> EncodeArguments for (A, B, C, D, E, F, G, H)

§

type Encs = [Encoding; 8]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode, E: Encode> EncodeArguments for (A, B, C, D, E)

§

type Encs = [Encoding; 5]

source§

fn encodings() -> Self::Encs

source§

impl EncodeArguments for ()

§

type Encs = [Encoding; 0]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode, E: Encode, F: Encode, G: Encode, H: Encode, I: Encode> EncodeArguments for (A, B, C, D, E, F, G, H, I)

§

type Encs = [Encoding; 9]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode, E: Encode, F: Encode> EncodeArguments for (A, B, C, D, E, F)

§

type Encs = [Encoding; 6]

source§

fn encodings() -> Self::Encs

source§

impl<A: Encode, B: Encode, C: Encode, D: Encode, E: Encode, F: Encode, G: Encode, H: Encode, I: Encode, J: Encode, K: Encode> EncodeArguments for (A, B, C, D, E, F, G, H, I, J, K)

§

type Encs = [Encoding; 11]

source§

fn encodings() -> Self::Encs

Implementors§