write_string

Function write_string 

Source
pub fn write_string(
    module: &Module,
    info: &ModuleInfo,
    config: Config,
) -> Result<String, Error>
Expand description

Converts module to a string of Rust code.

ยงErrors

Returns an error if the module cannot be represented as Rust.