Tuple

Trait Tuple 

pub trait Tuple {
    const LEN: usize;
}
Available on crate feature tuple only.

Required Associated Constants§

const LEN: usize

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§

§

impl<T> Tuple for (T₁, T₂, …, Tₙ)

This trait is implemented for tuples up to 21 items long

§

const LEN: usize = 1usize

Implementors§