Trait MapFunc
lhlist::iter
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.
type Output
Output of mapped function
fn call(&mut self, item: T) -> Self::Output
Evaluate this function on the input