Skip to main content

find_named_arg

Function find_named_arg 

Source
pub fn find_named_arg<'a>(
    named: &'a [(String, RValue)],
    param_name: &str,
) -> Option<&'a RValue>
Expand description

Find an argument by name only (exact match first, then unique partial match). Used by the FromArgs derive macro with a runtime positional counter.