Skip to main content

extract_methods

Function extract_methods 

Source
fn extract_methods(impl_item: &ItemImpl) -> Result<Vec<TraitMethod>>
Expand description

Extract all methods from a trait impl block as TraitMethod structs.

Parses each ImplItem::Fn to determine receiver type, mutability, #[miniextendr(...)] attributes (coerce, skip, r_name, defaults, etc.), and roxygen @param tags from doc comments.