Trait syn::token::Token[][src]

pub trait Token: Sealed { }

Marker trait for types that represent single tokens.

This trait is sealed and cannot be implemented for types outside of Syn.

Implementations on Foreign Types

impl Token for Group[src]

impl Token for Punct[src]

impl Token for Literal[src]

impl Token for TokenTree[src]

Loading content...

Implementors

impl Token for Lit[src]

impl Token for Ident[src]

impl Token for Lifetime[src]

impl Token for LitBool[src]

impl Token for LitByte[src]

impl Token for LitByteStr[src]

impl Token for LitChar[src]

impl Token for LitFloat[src]

impl Token for LitInt[src]

impl Token for LitStr[src]

impl Token for Abstract[src]

impl Token for Add[src]

impl Token for AddEq[src]

impl Token for And[src]

impl Token for AndAnd[src]

impl Token for AndEq[src]

impl Token for As[src]

impl Token for Async[src]

impl Token for At[src]

impl Token for Auto[src]

impl Token for Await[src]

impl Token for Bang[src]

impl Token for Become[src]

impl Token for Box[src]

impl Token for Brace[src]

impl Token for Bracket[src]

impl Token for Break[src]

impl Token for Caret[src]

impl Token for CaretEq[src]

impl Token for Colon2[src]

impl Token for Colon[src]

impl Token for Comma[src]

impl Token for Const[src]

impl Token for Continue[src]

impl Token for Crate[src]

impl Token for Default[src]

impl Token for Div[src]

impl Token for DivEq[src]

impl Token for Do[src]

impl Token for Dollar[src]

impl Token for Dot2[src]

impl Token for Dot3[src]

impl Token for Dot[src]

impl Token for DotDotEq[src]

impl Token for Dyn[src]

impl Token for Else[src]

impl Token for Enum[src]

impl Token for Eq[src]

impl Token for EqEq[src]

impl Token for Extern[src]

impl Token for FatArrow[src]

impl Token for Final[src]

impl Token for Fn[src]

impl Token for For[src]

impl Token for Ge[src]

impl Token for syn::token::Group[src]

impl Token for Gt[src]

impl Token for If[src]

impl Token for Impl[src]

impl Token for In[src]

impl Token for LArrow[src]

impl Token for Le[src]

impl Token for Let[src]

impl Token for Loop[src]

impl Token for Lt[src]

impl Token for Macro[src]

impl Token for Match[src]

impl Token for Mod[src]

impl Token for Move[src]

impl Token for MulEq[src]

impl Token for Mut[src]

impl Token for Ne[src]

impl Token for Or[src]

impl Token for OrEq[src]

impl Token for OrOr[src]

impl Token for Override[src]

impl Token for Paren[src]

impl Token for Pound[src]

impl Token for Priv[src]

impl Token for Pub[src]

impl Token for Question[src]

impl Token for RArrow[src]

impl Token for Ref[src]

impl Token for Rem[src]

impl Token for RemEq[src]

impl Token for Return[src]

impl Token for SelfType[src]

impl Token for SelfValue[src]

impl Token for Semi[src]

impl Token for Shl[src]

impl Token for ShlEq[src]

impl Token for Shr[src]

impl Token for ShrEq[src]

impl Token for Star[src]

impl Token for Static[src]

impl Token for Struct[src]

impl Token for Sub[src]

impl Token for SubEq[src]

impl Token for Super[src]

impl Token for Tilde[src]

impl Token for Trait[src]

impl Token for Try[src]

impl Token for Type[src]

impl Token for Typeof[src]

impl Token for Underscore[src]

impl Token for Union[src]

impl Token for Unsafe[src]

impl Token for Unsized[src]

impl Token for Use[src]

impl Token for Virtual[src]

impl Token for Where[src]

impl Token for While[src]

impl Token for Yield[src]

impl<T: CustomToken> Token for T[src]

Loading content...