Skip to main content

fn_signature

Function fn_signature 

Source
pub fn fn_signature(
    program: &Program,
    index: &ItemIndex,
    name: &str,
) -> Option<FnSig>
Expand description

The signature of the top-level function name in the program’s root module, or None if there is no such function.