Skip to main content

try_generate_rust_with_constants

Function try_generate_rust_with_constants 

Source
pub fn try_generate_rust_with_constants(
    file: &SynFile,
    opts: &RustOptions<'_>,
    imported_constants: &ResolvedConstants,
) -> Result<String, CodegenError>
Expand description

Try to generate Rust bindings with additional imported constants available for attributes.