Struct rs_transducers::transducers::DropWhileReducer
[−]
[src]
pub struct DropWhileReducer<RF, F> { /* fields omitted */ }
Trait Implementations
impl<R, I, OF, E, F> Reducing<I, OF, E> for DropWhileReducer<R, F> where
R: Reducing<I, OF, E>,
F: Fn(&I) -> bool,
[src]
R: Reducing<I, OF, E>,
F: Fn(&I) -> bool,
type Item = I
The type of each value after the reducing function
fn init(&mut self)
Transducers must call the underlying init
TODO: may not be required at all. Not currently used by any implementation Read more
fn step(&mut self, value: I) -> Result<StepResult, E>
Each step, may fail TODO: the return type to contain an indicator of early termination Read more
fn complete(&mut self) -> Result<(), E>
Transducers must call the underlying complete