Expand description
Infer inherited argument types from a concrete method item, not copied paths.
Re-exportsΒ§
use proc_macro2::Span;πuse proc_macro2::TokenStream;πuse quote::format_ident;πuse quote::quote;π
FunctionsΒ§
- argument_
ident π - callable π
- Foreign-ABI methods are not FnOnce items. A never-called closure presents their argument types to the same inference helper.
- setup π
- This local generic function only inspects a callableβs signature. It never calls it, constructs an argument, or adds conversion bounds to the trait.