Trait napi_derive_backend::codegen::TryToTokens

source ·
pub trait TryToTokens {
    // Required method
    fn try_to_tokens(&self, tokens: &mut TokenStream) -> BindgenResult<()>;

    // Provided method
    fn try_to_token_stream(&self) -> BindgenResult<TokenStream> { ... }
}

Required Methods§

source

fn try_to_tokens(&self, tokens: &mut TokenStream) -> BindgenResult<()>

Provided Methods§

Implementors§