Skip to main content

AppendToTuple

Trait AppendToTuple 

Source
pub trait AppendToTuple<T> {
    type Out;

    const LENGHT: usize;
}
Expand description

A type level helper trait to append another element to a tuple

Self is the existing tuple, T the element that is appended

Required Associated Constants§

Source

const LENGHT: usize

The length of the resulting tuple

Required Associated Types§

Source

type Out

The resulting tuple type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, New> AppendToTuple<New> 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, New> AppendToTuple<New> 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, New> AppendToTuple<New> 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, New> AppendToTuple<New> for (A, B, C, D, E, F, G, H, I, J, K, L, M)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<A, B, C, D, New> AppendToTuple<New> for (A, B, C, D)

Source§

impl<A, B, C, New> AppendToTuple<New> for (A, B, C)

Source§

impl<A, B, New> AppendToTuple<New> for (A, B)

Source§

impl<A, New> AppendToTuple<New> for (A,)

Source§

impl<T> AppendToTuple<T> for ()

Implementors§