Macro peel_ip::prelude::named_args []

macro_rules! named_args {
    (
pub $ func_name : ident ( $ ( $ arg : ident : $ typ : ty ) , * ) < $
return_type : ty > , $ submac : ident ! ( $ ( $ args : tt ) * ) ) => { ... };
    (
pub $ func_name : ident < 'a > ( $ ( $ arg : ident : $ typ : ty ) , * ) < $
return_type : ty > , $ submac : ident ! ( $ ( $ args : tt ) * ) ) => { ... };
    (
$ func_name : ident ( $ ( $ arg : ident : $ typ : ty ) , * ) < $ return_type :
ty > , $ submac : ident ! ( $ ( $ args : tt ) * ) ) => { ... };
    (
$ func_name : ident < 'a > ( $ ( $ arg : ident : $ typ : ty ) , * ) < $
return_type : ty > , $ submac : ident ! ( $ ( $ args : tt ) * ) ) => { ... };
}

Makes a function from a parser combination with arguments.