pub fn scope_depth(cx: Scope<'_>) -> u32
Expand description

Returns the current depth of the scope. If the scope is the root scope, returns 0.