WithChainOne

Trait WithChainOne 

Source
pub trait WithChainOne: Iterator + Sized {
    // Required method
    fn chain_one(self, elem: Self::Item) -> ChainOne<Self> ;
}

Required Methods§

Source

fn chain_one(self, elem: Self::Item) -> ChainOne<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.

Implementors§

Source§

impl<I> WithChainOne for I
where I: Iterator,