Skip to main content

Module trait_signature

Module trait_signature 

Source
Expand description

Infer inherited argument types from a concrete method item, not copied paths.

Functions§

argument_ident 🔒
callable 🔒
Unsafe or 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.