Name Description Size
lib.rs A procedural macro as a syntactical sugar to `gecko_profiler_label!` macro. You can use this macro on top of functions to automatically append the label frame to the function. Example usage: ```rust #[gecko_profiler_fn_label(DOM)] fn foo(bar: u32) -> u32 { bar } #[gecko_profiler_fn_label(Javascript, IonMonkey)] pub fn bar(baz: i8) -> i8 { baz } ``` See the documentation of `gecko_profiler_label!` macro to learn more about its parameters. 1984