1 2 3 4 5 6 7 8 9 10 11
/// A straight line from one point to another. struct Line { field start: Point; field end: Point; } /// A 2D point. struct Point { field x: Int32; field y: Int32; }