Skip to main content

collect_param_markers

Function collect_param_markers 

Source
pub(crate) fn collect_param_markers(
    inputs: &Punctuated<FnArg, Comma>,
) -> Result<Vec<(String, Vec<ParamMarker>)>>
Expand description

The markers of every parameter of inputs that carries one, keyed by Rust name, in signature order. Nested or stacked markers are an error (see crate::type_inspect::peel_param_markers).