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§
fn from_tuple(item: Self::Intuple) -> Self
fn into_tuple(self) -> Self::Intuple
Provided Methods§
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.