CodeGen

Trait CodeGen 

Source
pub trait CodeGen {
    // Required method
    fn codegen(&self, indent: usize) -> String;
}

Required Methods§

Source

fn codegen(&self, indent: usize) -> String

Implementations on Foreign Types§

Source§

impl CodeGen for FunctionSchema

Source§

fn codegen(&self, indent: usize) -> String

Render the function schema by prefixing each line with the desired indentation.

Source§

impl CodeGen for TypeSchema

Source§

fn codegen(&self, indent: usize) -> String

Implementors§