pub struct OCaml { /* private fields */ }
Expand description

OCaml codegen

Implementations

Create new OCaml codegen instance

Trait Implementations

Step 1: generate any setup code or low-level bindings

Step 2: generate code for array types

Step 3: generate code for opaque types

Step 4: generate code for entry points

Iterates through the manifest and generates code

Step 5: Optionally, run any formatting program or post-processing on the output file

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.