Trait yagen::FlatMapSugar

source ·
pub trait FlatMapSugar: Generator + Sized {
    // Required method
    fn flat_map<F: FlatMap<Input = Self::Yield>>(
        self,
        f: F
    ) -> FlatMapGenerator<Self, F>;
}

Required Methods§

source

fn flat_map<F: FlatMap<Input = Self::Yield>>( self, f: F ) -> FlatMapGenerator<Self, F>

Object Safety§

This trait is not object safe.

Implementors§