Trait IntoTuple

Source
pub trait IntoTuple
where Self: Sized,
{ // Provided methods fn tuple(&self) -> (Self,) where Self: Clone { ... } fn into_tuple<T>(self, other: T) -> (Self, T) { ... } }

Provided Methods§

Source

fn tuple(&self) -> (Self,)
where Self: Clone,

Source

fn into_tuple<T>(self, other: T) -> (Self, T)

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§

Source§

impl<T: Sized> IntoTuple for T