pub fn generate_rs(&self) -> TokenStream2 {
        match &self.state {
            State::NotGenerated => panic!("Generate first"),
            State::Generated(gen_results) => gen_results.item_mod.to_token_stream(),
            State::ParseOnly => TokenStream2::new(),
        }
    }
/// Generate the Rust bindings. Call `generate` first.
Generate the Rust bindings. Call `generate` first.
Generate the Rust bindings . Call ` generate ` first .
pub fn generate_rs(&self) -> TokenStream2 {
        match &self.state {
            State::NotGenerated => panic!("Generate first"),
            State::Generated(gen_results) => gen_results.item_mod.to_token_stream(),
            State::ParseOnly => TokenStream2::new(),
        }
    }
pub fn generate_rs ( & self ) -> TokenStream2 { match & self . state { State :: NotGenerated => panic ! ( " " ) , State :: Generated ( gen_results ) => gen_results . item_mod . to_token_stream ( ) , State :: ParseOnly => TokenStream2 :: new ( ) , } }
Generate the Rust bindings.
Generate the Rust bindings .
&self
&self