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/08-custom-code/output/rust/src | |
| parent | 0e51a1497b98bd190d304acc4c1e1e1f56bf03c7 (diff) | |
Derive Debug and PartialEq for generated Rust types
Diffstat (limited to 'examples/08-custom-code/output/rust/src')
| -rw-r--r-- | examples/08-custom-code/output/rust/src/gen/shapes.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/08-custom-code/output/rust/src/gen/shapes.rs b/examples/08-custom-code/output/rust/src/gen/shapes.rs index d0710bb..c5f8af5 100644 --- a/examples/08-custom-code/output/rust/src/gen/shapes.rs +++ b/examples/08-custom-code/output/rust/src/gen/shapes.rs @@ -1,5 +1,6 @@ // Generated by hobgoblin. +#[derive(Debug, PartialEq)] pub struct Square { pub width: ::core::primitive::i32, } |
