Macro func_path

Source
macro_rules! func_path {
    () => { ... };
}
Expand description

Return the type path of the callee.

Example:


fn foo() -> String {
    func_path!()
}
// `foo()` outputs: "rust_out::main:: ... ::foo";