parse_drg

Function parse_drg 

Source
pub fn parse_drg(text: &str) -> Result<ParsedDragCurve, String>
Expand description

Parses .drg drag-curve text into a ParsedDragCurve. See the module docs for the full tolerance contract. On any violation, returns Err(String) naming the offending line number (1-indexed) and the problem.