pub fn write_string( module: &Module, info: &ModuleInfo, config: Config, ) -> Result<String, Error>
Converts module to a string of Rust code.
module
Returns an error if the module cannot be represented as Rust.