Closed longshorej closed 4 years ago
This adds Source::filter_map, Flow::filter_map, and the accompanying implementation.
Source::filter_map
Flow::filter_map
FilterMap takes a function that both maps and filters by returning an Option<B> when given an A.
FilterMap
Option<B>
A
This adds
Source::filter_map
,Flow::filter_map
, and the accompanying implementation.FilterMap
takes a function that both maps and filters by returning anOption<B>
when given anA
.