1use crate::extractor::Extractor; 2 3pub trait Mapper<Input> { 4 type Output; 5 6 fn map_next<E>(&mut self, extractor: &mut E) -> Self::Output 7 where 8 E: Extractor<Output = Input>; 9}