Trait pmutil::ToTokensExt

source ·
pub trait ToTokensExt: ToTokens {
    // Provided methods
    fn dump(&self) -> TokenStream { ... }
    fn first_last(&self) -> FirstLast { ... }
}

Provided Methods§

source

fn dump(&self) -> TokenStream

source

fn first_last(&self) -> FirstLast

Usage: Quote::new(body.first_last())

Implementors§