pub fn to_tokens<T>(tokens: &T, stream: &mut TokenStream)
where
    T: ToTokens,
{
    current_context(|ctx| tokens.to_tokens(ctx, stream))
}
/// Convert the given argument into a tokens stream.
///
/// # Panics
///
/// This will panic if it's called outside of a macro context.
Convert the given argument into a tokens stream.
Convert the given argument into a tokens stream .
pub fn to_tokens<T>(tokens: &T, stream: &mut TokenStream)
where
    T: ToTokens,
{
    current_context(|ctx| tokens.to_tokens(ctx, stream))
}
pub fn to_tokens < T > ( tokens : & T , stream : & mut TokenStream ) where T : ToTokens , { current_context ( | ctx | tokens . to_tokens ( ctx , stream ) ) }
Convert the given argument into a tokens stream.
Convert the given argument into a tokens stream .
tokens
&T
stream
&mut TokenStream
tokens
&T
stream
&mut TokenStream
panics
This will panic if it's called outside of a macro context.
This will panic if it ' s called outside of a macro context .