Tuple

Trait Tuple 

Source
pub trait Tuple<T, const N: usize, O: Array<N, T>> {
    // Required method
    fn tuple(self) -> O;
}
Expand description

Turn a array into a tuple. Implemented for N≤32

Required Methods§

Source

fn tuple(self) -> O

Turn a array into a tuple.

Implementations on Foreign Types§

Source§

impl<T, const N: usize, O: Array<N, T>> Tuple<T, N, O> for [T; N]

Source§

fn tuple(self) -> O

Implementors§