You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In mozilla/uniffi-rs#381 we added support for enums with associated data, but it doesn't properly support recursive enums, like the classic "tree" example where the enum variants are Tree::Leaf and Tree::Branch(left: Tree, right: Tree). Some notes on what we'd need in order to support such:
In the rust code, we'll need to be prepared to Box the values in the recursive fields.
In the swift binding, we'll need to use indirect keyword to support recursive enums.
In mozilla/uniffi-rs#381 we added support for enums with associated data, but it doesn't properly support recursive enums, like the classic "tree" example where the enum variants are
Tree::Leaf
andTree::Branch(left: Tree, right: Tree)
. Some notes on what we'd need in order to support such:Box
the values in the recursive fields.indirect
keyword to support recursive enums.┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: