tizoc / ocaml-interop

OCaml<->Rust FFI with an emphasis on safety.
MIT License
135 stars 22 forks source link

Add `OCamlFromRust` and `OCamlToRust` traits #40

Closed tizoc closed 3 years ago

tizoc commented 3 years ago

These traits enable the possibility to define conversions for types that have been defined in other crates.

tizoc commented 3 years ago

Closing this experiment, not needed (but I may use some ideas from here to combine the conversion macros).