diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-24 20:17:40 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-24 20:17:40 +0100 |
| commit | 6b3ca8e95a46fbf6f4d9bc5b4214386dd221c69c (patch) | |
| tree | 74754e21f6d3d81209534b427b582d73bd8300d4 /examples/11-transient-0/output/rust/src/gen/data | |
| parent | cfc081d9ae035f876f7f8e836ebf0811ec338c6b (diff) | |
Support Shared in java-transient-0
Diffstat (limited to 'examples/11-transient-0/output/rust/src/gen/data')
| -rw-r--r-- | examples/11-transient-0/output/rust/src/gen/data/transient_0.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/11-transient-0/output/rust/src/gen/data/transient_0.rs b/examples/11-transient-0/output/rust/src/gen/data/transient_0.rs index 82fb5f7..12f69e8 100644 --- a/examples/11-transient-0/output/rust/src/gen/data/transient_0.rs +++ b/examples/11-transient-0/output/rust/src/gen/data/transient_0.rs @@ -221,3 +221,13 @@ pub fn decode_struct_with_sum(reader: &mut impl std::io::Read) -> ::std::io::Res let b = crate::transient_0::decode_int_32(reader)?; std::io::Result::Ok(crate::data::StructWithSum { inner: inner, b: b }) } + +pub fn encode_struct_with_shared(value: &crate::data::StructWithShared, writer: &mut impl std::io::Write) -> ::std::io::Result::<()> { + todo!(); + ::std::io::Result::Ok(()) +} + +pub fn decode_struct_with_shared(reader: &mut impl std::io::Read) -> ::std::io::Result::<crate::data::StructWithShared> { + let inner = todo!(); + std::io::Result::Ok(crate::data::StructWithShared { inner: inner }) +} |
