summaryrefslogtreecommitdiff
path: root/examples/11-custom-code/output/rust/src/gen
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-07-31 12:34:40 +0100
committerMichael Williamson <mike@zwobble.org>2026-07-31 12:41:53 +0100
commit5148cdd9343e28e945c3e4c206d5d29c5790c001 (patch)
tree191b5f9b494dfa046f61286185c09d6d4ef5ed81 /examples/11-custom-code/output/rust/src/gen
parent4bf0bacb0f369962144f51ad4491ac58875532a0 (diff)
Support circular imports
Diffstat (limited to 'examples/11-custom-code/output/rust/src/gen')
-rw-r--r--examples/11-custom-code/output/rust/src/gen/shapes.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/11-custom-code/output/rust/src/gen/shapes.rs b/examples/11-custom-code/output/rust/src/gen/shapes.rs
new file mode 100644
index 0000000..815db2a
--- /dev/null
+++ b/examples/11-custom-code/output/rust/src/gen/shapes.rs
@@ -0,0 +1,6 @@
+// Generated by hobgoblin.
+
+#[derive(Debug, Hash, PartialEq)]
+pub struct Square {
+ pub width: ::core::primitive::i32,
+}