diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-14 19:49:24 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-14 19:49:24 +0100 |
| commit | f189d982951f7f0e2c3560a20c0d1d8a2b6431d0 (patch) | |
| tree | 2c369ef2467f91aaa1a03071998831d0f84e6e7b /examples/09-imports/output/rust/src/line.rs | |
| parent | 0e51a1497b98bd190d304acc4c1e1e1f56bf03c7 (diff) | |
Derive Debug and PartialEq for generated Rust types
Diffstat (limited to 'examples/09-imports/output/rust/src/line.rs')
| -rw-r--r-- | examples/09-imports/output/rust/src/line.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/09-imports/output/rust/src/line.rs b/examples/09-imports/output/rust/src/line.rs index 01c9d43..e29c94b 100644 --- a/examples/09-imports/output/rust/src/line.rs +++ b/examples/09-imports/output/rust/src/line.rs @@ -1,6 +1,7 @@ // Generated by hobgoblin. /// A straight line from one point to another. +#[derive(Debug, PartialEq)] pub struct Line { pub start: crate::point::Point, pub end: crate::point::Point, |
