diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-08-08 22:32:02 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-08-08 22:33:36 +0100 |
| commit | 39e34d4f524f5492065ba47b6cd33d5f272cd515 (patch) | |
| tree | f16782a9292d9da9564e4ce7d5d6efb791ef0498 /examples/15-transient-0/output/rust/src/gen/data.rs | |
| parent | 6dd8f8fe274e11348b631abcf67ee7ccf8254997 (diff) | |
Partially support generic native types in java-transient-0
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 745bc9d..856d60f 100644 --- a/examples/15-transient-0/output/rust/src/gen/data.rs +++ b/examples/15-transient-0/output/rust/src/gen/data.rs @@ -122,6 +122,11 @@ pub struct StructWithNative { } #[derive(Clone, Debug, Hash, PartialEq)] +pub struct StructWithGenericNative { + pub a: crate::data::GenericNative::<::core::primitive::i32, ::std::string::String>, +} + +#[derive(Clone, Debug, Hash, PartialEq)] pub struct StructWithBox { pub inner: ::std::boxed::Box::<crate::data::StructWithInt32>, } |
