mirror of
https://github.com/fluencelabs/gitbook-docs
synced 2024-12-04 23:30:23 +00:00
GitBook: [main] one page modified
This commit is contained in:
parent
aa575ab9a7
commit
fbb42a97fa
@ -112,7 +112,7 @@ Finally, the `[marine]` macro can wrap a `struct` making possible to use it as a
|
||||
|
||||
* only macro-wrapped structures can be used as function arguments and return types
|
||||
* all fields of the wrapped structure must be public and of the `ftype`.
|
||||
* it is possible to have inner records in the macro-wrapped structure
|
||||
* it is possible to have inner records in the macro-wrapped structure and to import wrapped structs from other crates
|
||||
|
||||
See the example below for wrapping `struct`:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user