/// A straight line from one point to another. pub struct Line { pub start: Point, pub end: Point, } /// A 2D point. pub struct Point { pub x: i32, pub y: i32, }