json_decode

Function map4

Source
pub fn map4<'a, F, _1, _2, _3, _4, NewDecodesTo>(
    func: F,
    _1: BoxDecoder<'a, _1>,
    _2: BoxDecoder<'a, _2>,
    _3: BoxDecoder<'a, _3>,
    _4: BoxDecoder<'a, _4>,
) -> BoxDecoder<'a, NewDecodesTo>
where F: Fn(_1, _2, _3, _4) -> NewDecodesTo + 'a + Send + Sync, NewDecodesTo: 'a, _1: 'a, _2: 'a, _3: 'a, _4: 'a,