mapping

Function mapping 

Source
pub fn mapping<P, T, I, O>(
    component: &T,
    input_lens: &I,
    output_lens: &O,
    problem: &P,
    state: &mut State<'_, P>,
) -> ExecResult<()>
where P: Problem, T: Mapping<P>, I: Lens<P, Target = T::Input>, O: LensAssign<P, Target = T::Output>,
Expand description

A default implementation of Component::execute for types implementing Mapping.