Skip to main content

NestedTuple

Trait NestedTuple 

Source
pub trait NestedTuple { }
Expand description

A tuple of the form (A, (B, (… (N, ())))).

It is always terminated with a unit.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl NestedTuple for ()

Source§

impl<Head, Tail> NestedTuple for (Head, Tail)
where Tail: NestedTuple,

Implementors§