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: special_methods.rs
    path of file: ./repos/gdnative/bindings-generator/src
    
    the code of the file until where you have to start completion: use crate::api::*;

use proc_macro2::TokenStream;
use quote::{format_ident, quote};

pub fn generate_ctor(class: &GodotClass) -> TokenStream {
    let method_table = forma
    
pub fn generate_send_sync_impls(class: &GodotClass) -> TokenStream {
    assert!(class.is_singleton_thread_safe());
    let class_name = format_ident!("{}", class.name);

    quote! {
        unsafe impl Send for #class_name {}
        unsafe impl Sync for #class_name {}
    }
}