diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-08-08 17:48:37 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-08-08 17:48:37 +0100 |
| commit | 13ddee33304f55788615eb3e330fd07d37093909 (patch) | |
| tree | ae83fde1f092d101e836b63d3c29d0889f849939 /examples/15-transient-0/output/rust/src/gen/data.rs | |
| parent | 8455bb19b7d4235e667cab9112aa276557969dcc (diff) | |
Add use of native type to transient-0 example
Diffstat (limited to 'examples/15-transient-0/output/rust/src/gen/data.rs')
| -rw-r--r-- | examples/15-transient-0/output/rust/src/gen/data.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/15-transient-0/output/rust/src/gen/data.rs b/examples/15-transient-0/output/rust/src/gen/data.rs index d4847ec..745bc9d 100644 --- a/examples/15-transient-0/output/rust/src/gen/data.rs +++ b/examples/15-transient-0/output/rust/src/gen/data.rs @@ -117,6 +117,11 @@ pub struct StructWithSum { } #[derive(Clone, Debug, Hash, PartialEq)] +pub struct StructWithNative { + pub a: crate::data::Native, +} + +#[derive(Clone, Debug, Hash, PartialEq)] pub struct StructWithBox { pub inner: ::std::boxed::Box::<crate::data::StructWithInt32>, } |
