next_tuple

Trait NextTuple

source
pub trait NextTuple {
    type Output<Next>;

    // Required method
    fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>;
}
Expand description

Allows extending a tuple, or creating a new tuple, by adding the next value.

Required Associated Types§

source

type Output<Next>

The type that will be returned by adding another value of type Next to the end of the current type.

Required Methods§

source

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

Adds the next value and returns the result.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NextTuple for ()

source§

type Output<Next> = (Next,)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A> NextTuple for (A,)

source§

type Output<Next> = (A, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B> NextTuple for (A, B)

source§

type Output<Next> = (A, B, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B, C> NextTuple for (A, B, C)

source§

type Output<Next> = (A, B, C, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B, C, D> NextTuple for (A, B, C, D)

source§

type Output<Next> = (A, B, C, D, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B, C, D, E> NextTuple for (A, B, C, D, E)

source§

type Output<Next> = (A, B, C, D, E, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B, C, D, E, F> NextTuple for (A, B, C, D, E, F)

source§

type Output<Next> = (A, B, C, D, E, F, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B, C, D, E, F, G> NextTuple for (A, B, C, D, E, F, G)

source§

type Output<Next> = (A, B, C, D, E, F, G, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B, C, D, E, F, G, H> NextTuple for (A, B, C, D, E, F, G, H)

source§

type Output<Next> = (A, B, C, D, E, F, G, H, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

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

source§

type Output<Next> = (A, B, C, D, E, F, G, H, I, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

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

source§

type Output<Next> = (A, B, C, D, E, F, G, H, I, J, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

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

source§

type Output<Next> = (A, B, C, D, E, F, G, H, I, J, K, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

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

source§

type Output<Next> = (A, B, C, D, E, F, G, H, I, J, K, L, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M)

source§

type Output<Next> = (A, B, C, D, E, F, G, H, I, J, K, L, M, Next)

source§

fn next_tuple<Next>(self, next: Next) -> Self::Output<Next>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> NextTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)

Implementors§