pub fn flat_map(self, map: Function) -> Self {
        Self {
            iter: IterRepr::FlatMap(Box::new(FlatMap {
                map: Fuse::new(Map {
                    iter: self.iter,
                    map,
                }),
                frontiter: None,
                backiter: None,
            })),
        }
    }
/// Map and flatten the iterator using the given function.
Map and flatten the iterator using the given function.
Map and flatten the iterator using the given function .
pub fn flat_map(self, map: Function) -> Self {
        Self {
            iter: IterRepr::FlatMap(Box::new(FlatMap {
                map: Fuse::new(Map {
                    iter: self.iter,
                    map,
                }),
                frontiter: None,
                backiter: None,
            })),
        }
    }
pub fn flat_map ( self , map : Function ) -> Self { Self { iter : IterRepr :: FlatMap ( Box :: new ( FlatMap { map : Fuse :: new ( Map { iter : self . iter , map , } ) , frontiter : None , backiter : None , } ) ) , } }
Map and flatten the iterator using the given function.
Map and flatten the iterator using the given function .
self
map
Function
self
map
Function