pub fn api_from_file(file: &File) -> Result<Api>
Extract a full Api from a parsed Rust syn::File, collecting every top-level #[weaveffi::module].
Api
syn::File
#[weaveffi::module]
Propagates any error from module_from_item_mod.
module_from_item_mod