Skip to main content

api_from_file

Function api_from_file 

Source
pub fn api_from_file(file: &File) -> Result<Api>
Expand description

Extract a full Api from a parsed Rust syn::File, collecting every top-level #[weaveffi::module].

ยงErrors

Propagates any error from module_from_item_mod.