[][src]Trait lhlist::iter::MapFunc

pub trait MapFunc<T> {
    type Output;
    fn call(&mut self, item: T) -> Self::Output;
}

Function for use in mapping over heterogeneous lists.

This trait must be implemented for all types contained in the list.

Associated Types

type Output

Output of mapped function

Loading content...

Required methods

fn call(&mut self, item: T) -> Self::Output

Evaluate this function on the input

Loading content...

Implementors

Loading content...