pub fn find_bridge_param<'a>(
func: &FunctionDef,
bridges: &'a [TraitBridgeConfig],
) -> Option<(usize, &'a TraitBridgeConfig)>Expand description
Find the first function parameter that matches a trait bridge configuration (by type alias or parameter name).
Bridges configured with bind_via = "options_field" are skipped — they live on a
struct field rather than directly as a parameter, and are returned by
find_bridge_field instead.