Function lib_flutter_rust_bridge_codegen::frb_codegen
source · pub fn frb_codegen(config: &Opts, all_symbols: &[String]) -> Result<()>
Expand description
When the API is only defined in 1 rust file(block), take this one for generation, where config
is the instance containing all information to the API file(block), and all_symbols
contains
all unique APIs defined in the file mentioned above.
If APIs are defined in more than 1 rust file(block), use frb_codegen_multi
instead.