Module rust_legacy

Source
Expand description

Rust compiler backend.

Modules§

test
Generate Rust unit tests for canonical test vectors.

Traits§

ToIdent
ToUpperCamelCase
This trait defines an upper camel case conversion.

Functions§

constraint_to_value
Turn the constraint into a value (such as 10 or SomeEnum::Foo).
generate
Generate formatted Rust code from an AST.
generate_tokens
Generate Rust code from an AST.
mask_bits
Generate a bit-mask which masks out n least significant bits.