IntupleStruct

Trait IntupleStruct 

Source
pub trait IntupleStruct: Sized {
    type Intuple: Intuple<Self>;

    // Required methods
    fn from_tuple(item: Self::Intuple) -> Self;
    fn into_tuple(self) -> Self::Intuple;

    // Provided methods
    fn fruple(item: Self::Intuple) -> Self { ... }
    fn intuple(self) -> Self::Intuple { ... }
}

Required Associated Types§

Required Methods§

Source

fn from_tuple(item: Self::Intuple) -> Self

Source

fn into_tuple(self) -> Self::Intuple

Provided Methods§

Source

fn fruple(item: Self::Intuple) -> Self

Source

fn intuple(self) -> Self::Intuple

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§