From 8455bb19b7d4235e667cab9112aa276557969dcc Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 5 Aug 2026 18:44:26 +0100 Subject: Type check generic native types --- examples/14-imports/output/rust/src/line.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/14-imports/output/rust/src/line.rs (limited to 'examples/14-imports/output/rust/src/line.rs') diff --git a/examples/14-imports/output/rust/src/line.rs b/examples/14-imports/output/rust/src/line.rs new file mode 100644 index 0000000..8561605 --- /dev/null +++ b/examples/14-imports/output/rust/src/line.rs @@ -0,0 +1,8 @@ +// Generated by hobgoblin. + +/// A straight line from one point to another. +#[derive(Clone, Debug, Hash, PartialEq)] +pub struct Line { + pub start: crate::point::Point, + pub end: crate::point::Point, +} -- cgit v1.2.3