Trait syntex_syntax::ext::quote::rt::ToTokens
[−]
[src]
pub trait ToTokens { fn to_tokens(&self, _cx: &ExtCtxt) -> Vec<TokenTree>; }
Required Methods
Implementors
impl ToTokens for TokenTree
impl<T: ToTokens> ToTokens for Vec<T>
impl<T: ToTokens> ToTokens for Spanned<T>
impl<T: ToTokens> ToTokens for Option<T>
impl ToTokens for Ident
impl ToTokens for Path
impl ToTokens for Ty
impl ToTokens for Block
impl ToTokens for Generics
impl ToTokens for WhereClause
impl ToTokens for P<Item>
impl ToTokens for P<ImplItem>
impl ToTokens for P<TraitItem>
impl ToTokens for P<Stmt>
impl ToTokens for P<Expr>
impl ToTokens for P<Pat>
impl ToTokens for Arm
impl ToTokens for Arg
impl ToTokens for P<Block>
impl ToTokens for [Ty]
impl ToTokens for [P<Item>]
impl ToTokens for [Arg]
impl ToTokens for P<MetaItem>
impl ToTokens for Attribute
impl ToTokens for str
impl ToTokens for ()
impl ToTokens for Lit
impl ToTokens for bool
impl ToTokens for char
impl ToTokens for isize
impl ToTokens for i8
impl ToTokens for i16
impl ToTokens for i32
impl ToTokens for i64
impl ToTokens for usize
impl ToTokens for u8
impl ToTokens for u16
impl ToTokens for u32
impl ToTokens for u64