TupleConvert

Trait TupleConvert 

pub trait TupleConvert<C, Into: Tuple> {
    // Required method
    fn convert(self) -> Into;
}
Available on crate features tuple and tuple-convert only.

Required Methods§

fn convert(self) -> Into

Implementations on Foreign Types§

§

impl<'l, C, S, T> TupleConvert<C, (T,)> for &'l (S,)
where C: Converter<&'l S, T>,

This trait is implemented for pairs of tuples up to 21 items long

§

fn convert(self) -> (T,)

§

impl<'l, C, S, T> TupleConvert<C, (T,)> for &'l mut (S,)
where C: Converter<&'l mut S, T>,

This trait is implemented for pairs of tuples up to 21 items long

§

fn convert(self) -> (T,)

§

impl<C, S, T> TupleConvert<C, (T,)> for (S₁, S₂, …, Sₙ)
where C: Converter<S, T>,

This trait is implemented for pairs of tuples up to 21 items long

§

fn convert(self) -> (T,)

Implementors§