diff options
Diffstat (limited to 'examples/01-struct/output/rust/src')
| -rw-r--r-- | examples/01-struct/output/rust/src/point.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/01-struct/output/rust/src/point.rs b/examples/01-struct/output/rust/src/point.rs index aa90e19..063c3f0 100644 --- a/examples/01-struct/output/rust/src/point.rs +++ b/examples/01-struct/output/rust/src/point.rs @@ -1,8 +1,10 @@ +/// 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, |
