point

Function point 

Source
pub fn point(input: &str) -> IResult<&str, Point>
Expand description

Parses a point from the input string.

ยงExample

use idf_parser::point::{point, Point};
let input = "0 100.0 200.0 45.0";

let (remaining, point) = point(input).unwrap();
assert_eq!(point, Point { loop_label: 0, x: 100.0, y: 200.0, angle: 45.0 });