Skip to main content

line_count

Function line_count 

Source
pub fn line_count(region: &Region) -> usize
Expand description

The lines a region spans: for a fold, exactly the lines collapsing it hides. A body fold spans its body alone, starting the line after the { or : that opens it.