TuplePrepend

Trait TuplePrepend 

Source
pub trait TuplePrepend<Head, Tail> { }
Available on crate feature prepend only.
Expand description

An element and a tuple that are usable with prepend().

See prepend().

See also: prepend(), Prepend.

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.

Implementations on Foreign Types§

Source§

impl<Head> TuplePrepend<Head, ()> for (Head, ())

Source§

impl<Head, I1> TuplePrepend<Head, (I1,)> for (Head, (I1,))

Source§

impl<Head, I1, I2> TuplePrepend<Head, (I1, I2)> for (Head, (I1, I2))

Source§

impl<Head, I1, I2, I3> TuplePrepend<Head, (I1, I2, I3)> for (Head, (I1, I2, I3))

Source§

impl<Head, I1, I2, I3, I4> TuplePrepend<Head, (I1, I2, I3, I4)> for (Head, (I1, I2, I3, I4))

Source§

impl<Head, I1, I2, I3, I4, I5> TuplePrepend<Head, (I1, I2, I3, I4, I5)> for (Head, (I1, I2, I3, I4, I5))

Source§

impl<Head, I1, I2, I3, I4, I5, I6> TuplePrepend<Head, (I1, I2, I3, I4, I5, I6)> for (Head, (I1, I2, I3, I4, I5, I6))

Source§

impl<Head, I1, I2, I3, I4, I5, I6, I7> TuplePrepend<Head, (I1, I2, I3, I4, I5, I6, I7)> for (Head, (I1, I2, I3, I4, I5, I6, I7))

Source§

impl<Head, I1, I2, I3, I4, I5, I6, I7, I8> TuplePrepend<Head, (I1, I2, I3, I4, I5, I6, I7, I8)> for (Head, (I1, I2, I3, I4, I5, I6, I7, I8))

Implementors§