triton_constraint_builder::codegen

Trait Codegen

Source
pub trait Codegen {
    // Required method
    fn constraint_evaluation_code(constraints: &Constraints) -> TokenStream;

    // Provided methods
    fn tokenize_bfe(bfe: BFieldElement) -> TokenStream { ... }
    fn tokenize_xfe(xfe: XFieldElement) -> TokenStream { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§