Trait Transpose

Source
pub trait Transpose {
    type Output;

    // Required method
    fn transpose(self) -> Self::Output;
}
Expand description

タプルのVecVecのタプルに変換する。

Required Associated Types§

Source

type Output

Vecのタプルを表す型

Required Methods§

Source

fn transpose(self) -> Self::Output

タプルのVecVecのタプルに変換する。

Implementations on Foreign Types§

Source§

impl<T0, T1> Transpose for Vec<(T0, T1)>

Source§

type Output = (Vec<T0>, Vec<T1>)

Source§

fn transpose(self) -> Self::Output

Source§

impl<T0, T1, T2> Transpose for Vec<(T0, T1, T2)>

Source§

type Output = (Vec<T0>, Vec<T1>, Vec<T2>)

Source§

fn transpose(self) -> Self::Output

Source§

impl<T0, T1, T2, T3> Transpose for Vec<(T0, T1, T2, T3)>

Source§

type Output = (Vec<T0>, Vec<T1>, Vec<T2>, Vec<T3>)

Source§

fn transpose(self) -> Self::Output

Source§

impl<T0, T1, T2, T3, T4> Transpose for Vec<(T0, T1, T2, T3, T4)>

Source§

type Output = (Vec<T0>, Vec<T1>, Vec<T2>, Vec<T3>, Vec<T4>)

Source§

fn transpose(self) -> Self::Output

Implementors§