Trait rs_transducers::Transducer
[−]
[src]
pub trait Transducer<RI> { type RO; fn new(self, reducing_fn: RI) -> Self::RO; }
Defines a transducer that transforms a reducing function RI into a reducing function RO
Associated Types
type RO
Required Methods
fn new(self, reducing_fn: RI) -> Self::RO
Implementors
impl<F, RI> Transducer<RI> for MapTransducer<F>
impl<F, RI> Transducer<RI> for MapcatTransducer<F>
impl<F, RI> Transducer<RI> for FilterTransducer<F>
impl<RI, T> Transducer<RI> for PartitionTransducer<T>
impl<RI> Transducer<RI> for TakeTransducer
impl<RI, F> Transducer<RI> for TakeWhileTransducer<F>
impl<RI, F> Transducer<RI> for DropWhileTransducer<F>
impl<RI> Transducer<RI> for DropTransducer
impl<'a, RI, T> Transducer<RI> for ReplaceTransducer<T>
impl<RI, F, T, R> Transducer<RI> for PartitionByTransducer<F, T, R> where F: Fn(&T) -> R
impl<RI, RT, RO, AT, BT> Transducer<RI> for ComposedTransducer<AT, BT> where AT: Transducer<RI, RO=RT>, BT: Transducer<RT, RO=RO>