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

Rust codegen

Trait Implementations

Returns the “default value” for a type. Read more

Step 2: generate code for array types

Step 3: generate code for opaque types

Step 4: generate code for entry points

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

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

Iterates through the manifest and generates code

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.