You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bindings.rs
    path of file: ./repos/fuels-rs/packages/fuels-code-gen/src/program_bindings/abigen
    
    the code of the file until where you have to start completion: use crate::{
    error::Result,
    program_bindings::{
        abigen::{
            abigen_target::ParsedAbigenTarget,
            bindings::{
                contract::contract_bindings, predicate::predicate_bindings, script::script_bindings,
            },
            ProgramType,
        },
        generated_code
    
pub(crate) fn generate_bindings(target: ParsedAbigenTarget, no_std: bool) -> Result<GeneratedCode> {
    let bindings_generator = match target.program_type {
        ProgramType::Script => script_bindings,
        ProgramType::Contract => contract_bindings,
        ProgramType::Predicate => predicate_bindings,
    };

    let name = ident(&target.name);
    let abi = target.source.abi;
    bindings_generator(&name, abi, no_std)
}