Skip to main content

current_depth

Function current_depth 

Source
pub fn current_depth() -> usize
Expand description

Current absolute nesting depth: the inherited base plus every open section. This is the value indent renders and the value a parent exports (offset for the child’s nesting) when spawning a subprocess whose stderr joins this process’s stream.