Skip to main content

generate_interface

Function generate_interface 

Source
pub fn generate_interface(
    content: &str,
    cap_name: &str,
    cap_version: &str,
) -> Result<(File, InterfaceSpec<'static>)>
Expand description

For generating the interface lib.rs (module-side code)