From 578bf1f04b48f48225cfa794a27426cca4f6384a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 31 Jul 2026 10:50:10 +0100 Subject: Support singleton structs --- examples/10-custom-code/output/rust/src/gen/shapes.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 examples/10-custom-code/output/rust/src/gen/shapes.rs (limited to 'examples/10-custom-code/output/rust/src/gen/shapes.rs') diff --git a/examples/10-custom-code/output/rust/src/gen/shapes.rs b/examples/10-custom-code/output/rust/src/gen/shapes.rs new file mode 100644 index 0000000..815db2a --- /dev/null +++ b/examples/10-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, +} -- cgit v1.2.3