Skip to main content

depth

Function depth 

Source
fn depth(doc: &Document, block: BlockId) -> usize
Expand description

How many blocks a block sits inside. The fold refuses parent cycles (FoldError::BlockCycle), so walking up always reaches the root.