Skip to main content

IntoTuple

Trait IntoTuple 

Source
pub trait IntoTuple: HasTupleRepr + Into<TupleRepr<Self>> {
    // Provided method
    fn into_tuple(self) -> TupleRepr<Self> { ... }
}
Expand description

Conversion of the given type to its tuple representation.

Provided Methods§

Source

fn into_tuple(self) -> TupleRepr<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> IntoTuple for T
where T: HasTupleRepr + Into<TupleRepr<T>>,