wiwi::chain

Trait ChainInner

Source
pub trait ChainInner
where Self: Sized + Sealed + Into<Self::Chain>, Self::Chain: Chain<Inner = Self>,
{ type Chain; // Provided methods fn into_chain(self) -> Self::Chain { ... } fn from_chain(chain: Self::Chain) -> Self { ... } }

Required Associated Types§

Provided Methods§

Source

fn into_chain(self) -> Self::Chain

Source

fn from_chain(chain: Self::Chain) -> Self

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<T, const N: usize> ChainInner for [T; N]

Implementors§