Skip to main content

scope

Function scope 

Source
pub fn scope(name: &'static str) -> Scope
Expand description

Opens a profiling scope which lasts until the returned guard is dropped.

Scopes nest: a scope opened while another is active becomes its child.