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
Julia has libraries like Expronicon or MLStyle which provide Rust-like enums.
Is it possible to somehow use these libraries to map Rust's enums to these types? (in the case of porting Rust libraries to Julia)
The text was updated successfully, but these errors were encountered:
I don't think so. There might be some cases where you can hack something
together which works, but I expect that the layout of a Julia enum will
typically be incompatible with a Rust enum.
Rust implementations of Julia types can already be generated by using
JlrsCore.Reflect as long as the Julia type contains no unions that depend
on type parameters and no atomic fields. Types generated with the packages
you've mentioned should be compatible if those requirements are met.
Op wo 9 aug. 2023 21:30 schreef Chetan Vardhan ***@***.***>:
Julia has libraries like Expronicon or MLStyle which provide Rust-like enums.
Is it possible to somehow use these libraries to map Rust's enums to these types? (in the case of porting Rust libraries to Julia)
The text was updated successfully, but these errors were encountered: