[][src]Trait struple::Struple

pub trait Struple {
    type Tuple: GenericTuple;
    fn from_tuple(tuple: Self::Tuple) -> Self;
fn into_tuple(self) -> Self::Tuple; }

Implementors of this trait allow the conversion from and to tuples.

Associated Types

type Tuple: GenericTuple

The tuple representation of this type.

Loading content...

Required methods

fn from_tuple(tuple: Self::Tuple) -> Self

Constructs a value of this type from its tuple representation.

fn into_tuple(self) -> Self::Tuple

Turns this value into its tuple representation.

Loading content...

Implementors

Loading content...