From 81168752fe9b588f7a8215f86a32f3154c3f593a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 27 Jun 2026 22:28:48 +0100 Subject: Generate Rust types for structs --- examples/01-struct/output/rust/src/point.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/01-struct/output/rust/src/point.rs (limited to 'examples/01-struct/output/rust/src') diff --git a/examples/01-struct/output/rust/src/point.rs b/examples/01-struct/output/rust/src/point.rs new file mode 100644 index 0000000..4a2b09c --- /dev/null +++ b/examples/01-struct/output/rust/src/point.rs @@ -0,0 +1,9 @@ +pub struct Line { + start: Point, + end: Point, +} + +pub struct Point { + x: i32, + y: i32, +} -- cgit v1.2.3