time_macros::to_tokens

Trait ToTokenStream

source
pub(crate) trait ToTokenStream: Sized {
    // Required method
    fn append_to(self, ts: &mut TokenStream);
}
Expand description

Turn a type into a TokenStream.

Required Methods§

source

fn append_to(self, ts: &mut TokenStream)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ToTokenStream for TokenStream

source§

fn append_to(self, ts: &mut TokenStream)

Implementors§