[][src]Trait rxrust::ops::map::Map

pub trait Map<T> {
    fn map<B, F>(self, f: F) -> MapOp<Self, F, B>
    where
        Self: Sized,
        F: Fn(B) -> T
, { ... } }

Provided methods

fn map<B, F>(self, f: F) -> MapOp<Self, F, B> where
    Self: Sized,
    F: Fn(B) -> T, 

Creates a new stream which calls a closure on each element and uses its return as the value.

Loading content...

Implementors

impl<O, Item> Map<Item> for O[src]

Loading content...