macro_rules! duration_begin {
($category:expr, $name:expr $(, $key:expr => $val:expr)* $(,)?) => { ... };
}Expand description
Convenience macro for the duration_begin function.
Examples:
duration_begin!("foo", "bar", "x" => 5, "y" => "boo");const FOO: &'static str = "foo";
const BAR: &'static str = "bar";
duration_begin!(FOO, BAR, "x" => 5, "y" => "boo");