Zip

Trait Zip 

Source
pub trait Zip<S> {
    type Zipped;

    // Required method
    fn zip(self, _: S) -> Self::Zipped;
}

Required Associated Types§

Required Methods§

Source

fn zip(self, _: S) -> Self::Zipped

Implementors§

Source§

impl Zip<List<()>> for List<()>

Source§

impl Zip<Queue<()>> for Queue<()>

Source§

impl<LH, LT, RH, RT, ZH> Zip<Queue<(RH, RT)>> for Queue<(LH, LT)>
where LH: Zip<RH, Zipped = ZH>,

Source§

impl<LH, LT, RH, RT, ZT> Zip<List<(RH, RT)>> for List<(LH, LT)>
where LT: Zip<RT, Zipped = ZT>,