Skip to main content

extract_method_info

Function extract_method_info 

Source
fn extract_method_info(method: &TraitItemFn) -> Result<MethodInfo>
Expand description

Extract method information from a trait method definition.

Parses the method signature to determine receiver type, parameter names/types, return type, and any #[miniextendr(...)] attributes like skip and r_name. Parameters with non-ident patterns are assigned synthetic names (arg0, arg1, etc.).