Expand description
Implements conversion from Rust values into OCaml values.
Convert to OCaml value. Return an already rooted value as BoxRoot
<T>
.
impl<A, B, OCamlA: 'static, OCamlB: 'static> ToOCaml<(OCamlA, OCamlB)> for (A, B) where
A: ToOCaml<OCamlA>,
B: ToOCaml<OCamlB>,
impl<A, B, C, OCamlA: 'static, OCamlB: 'static, OCamlC: 'static> ToOCaml<(OCamlA, OCamlB, OCamlC)> for (A, B, C) where
A: ToOCaml<OCamlA>,
B: ToOCaml<OCamlB>,
C: ToOCaml<OCamlC>,
impl<A, B, C, D, OCamlA: 'static, OCamlB: 'static, OCamlC: 'static, OCamlD: 'static> ToOCaml<(OCamlA, OCamlB, OCamlC, OCamlD)> for (A, B, C, D) where
A: ToOCaml<OCamlA>,
B: ToOCaml<OCamlB>,
C: ToOCaml<OCamlC>,
D: ToOCaml<OCamlD>,
impl<A, B, C, D, E, OCamlA: 'static, OCamlB: 'static, OCamlC: 'static, OCamlD: 'static, OCamlE: 'static> ToOCaml<(OCamlA, OCamlB, OCamlC, OCamlD, OCamlE)> for (A, B, C, D, E) where
A: ToOCaml<OCamlA>,
B: ToOCaml<OCamlB>,
C: ToOCaml<OCamlC>,
D: ToOCaml<OCamlD>,
E: ToOCaml<OCamlE>,
impl<A, B, C, D, E, F, OCamlA: 'static, OCamlB: 'static, OCamlC: 'static, OCamlD: 'static, OCamlE: 'static, OCamlF: 'static> ToOCaml<(OCamlA, OCamlB, OCamlC, OCamlD, OCamlE, OCamlF)> for (A, B, C, D, E, F) where
A: ToOCaml<OCamlA>,
B: ToOCaml<OCamlB>,
C: ToOCaml<OCamlC>,
D: ToOCaml<OCamlD>,
E: ToOCaml<OCamlE>,
F: ToOCaml<OCamlF>,
impl<A, B, C, D, E, F, G, OCamlA: 'static, OCamlB: 'static, OCamlC: 'static, OCamlD: 'static, OCamlE: 'static, OCamlF: 'static, OCamlG: 'static> ToOCaml<(OCamlA, OCamlB, OCamlC, OCamlD, OCamlE, OCamlF, OCamlG)> for (A, B, C, D, E, F, G) where
A: ToOCaml<OCamlA>,
B: ToOCaml<OCamlB>,
C: ToOCaml<OCamlC>,
D: ToOCaml<OCamlD>,
E: ToOCaml<OCamlE>,
F: ToOCaml<OCamlF>,
G: ToOCaml<OCamlG>,
impl<A, B, C, D, E, F, G, H, OCamlA: 'static, OCamlB: 'static, OCamlC: 'static, OCamlD: 'static, OCamlE: 'static, OCamlF: 'static, OCamlG: 'static, OCamlH: 'static> ToOCaml<(OCamlA, OCamlB, OCamlC, OCamlD, OCamlE, OCamlF, OCamlG, OCamlH)> for (A, B, C, D, E, F, G, H) where
A: ToOCaml<OCamlA>,
B: ToOCaml<OCamlB>,
C: ToOCaml<OCamlC>,
D: ToOCaml<OCamlD>,
E: ToOCaml<OCamlE>,
F: ToOCaml<OCamlF>,
G: ToOCaml<OCamlG>,
H: ToOCaml<OCamlH>,
impl<A, B, C, D, E, F, G, H, I, OCamlA: 'static, OCamlB: 'static, OCamlC: 'static, OCamlD: 'static, OCamlE: 'static, OCamlF: 'static, OCamlG: 'static, OCamlH: 'static, OCamlI: 'static> ToOCaml<(OCamlA, OCamlB, OCamlC, OCamlD, OCamlE, OCamlF, OCamlG, OCamlH, OCamlI)> for (A, B, C, D, E, F, G, H, I) where
A: ToOCaml<OCamlA>,
B: ToOCaml<OCamlB>,
C: ToOCaml<OCamlC>,
D: ToOCaml<OCamlD>,
E: ToOCaml<OCamlE>,
F: ToOCaml<OCamlF>,
G: ToOCaml<OCamlG>,
H: ToOCaml<OCamlH>,
I: ToOCaml<OCamlI>,