Interpolate

Trait Interpolate 

Source
pub trait Interpolate {
    // Required method
    fn interpolate(&self, stream: TokenStream) -> TokenStream;
}
Expand description

Trait for tokens that can replace interpolation markers

Required Methods§

Source

fn interpolate(&self, stream: TokenStream) -> TokenStream

Take a token stream and replace interpolation markers with their actual values into a new stream using interpolate

Implementations on Foreign Types§

Source§

impl<T: Interpolate, P> Interpolate for Punctuated<T, P>

Make a Punctuated list interpolatible if it holds interpolatible types

Implementors§