Skip to main content

segment_file

Function segment_file 

Source
pub fn segment_file(source: &str) -> Vec<Segment>
Expand description

Split source into a header segment plus one segment per top-level knot / top-level stitch. See the module doc for the boundary rules.