[][src]Attribute Macro call_trace_macro::trace

#[trace]

The #[trace] macro. Needs to be applied to function definitions, and will invoke callbacks managed by the the callback-trace before and after the functions body.

Example

use call_trace::trace;

#[trace]
fn foo() {
    // ...
}