[][src]Trait syn::parse::Parse

pub trait Parse: Sized {
    fn parse(input: ParseStream) -> Result<Self>;
}

Parsing interface implemented by all types that can be parsed in a default way from a token stream.

Required methods

fn parse(input: ParseStream) -> Result<Self>

Loading content...

Implementations on Foreign Types

impl Parse for Option<BoundLifetimes>[src]

impl Parse for Option<WhereClause>[src]

impl Parse for Option<Abi>[src]

impl<T: Parse> Parse for Box<T>[src]

impl<T: Parse + Token> Parse for Option<T>[src]

impl Parse for TokenStream[src]

impl Parse for TokenTree[src]

impl Parse for Group[src]

impl Parse for Punct[src]

impl Parse for Literal[src]

Loading content...

Implementors

impl Parse for BinOp[src]

impl Parse for Expr[src]

impl Parse for GenericArgument[src]

impl Parse for GenericParam[src]

impl Parse for Lit[src]

impl Parse for Member[src]

impl Parse for Meta[src]

impl Parse for NestedMeta[src]

impl Parse for ReturnType[src]

impl Parse for TraitBoundModifier[src]

impl Parse for syn::Type[src]

impl Parse for TypeParamBound[src]

impl Parse for UnOp[src]

impl Parse for Visibility[src]

impl Parse for WherePredicate[src]

impl Parse for Nothing[src]

impl Parse for Abi[src]

impl Parse for AngleBracketedGenericArguments[src]

impl Parse for BareFnArg[src]

impl Parse for Binding[src]

impl Parse for BoundLifetimes[src]

impl Parse for ConstParam[src]

impl Parse for DeriveInput[src]

impl Parse for ExprLit[src]

impl Parse for ExprPath[src]

impl Parse for FieldsNamed[src]

impl Parse for FieldsUnnamed[src]

impl Parse for Generics[src]

impl Parse for Ident[src]

impl Parse for Index[src]

impl Parse for Lifetime[src]

impl Parse for LifetimeDef[src]

impl Parse for LitBool[src]

impl Parse for LitByte[src]

impl Parse for LitByteStr[src]

impl Parse for LitChar[src]

impl Parse for LitFloat[src]

impl Parse for LitInt[src]

impl Parse for LitStr[src]

impl Parse for syn::Macro[src]

impl Parse for MetaList[src]

impl Parse for MetaNameValue[src]

impl Parse for ParenthesizedGenericArguments[src]

impl Parse for Path[src]

impl Parse for PathSegment[src]

impl Parse for TraitBound[src]

impl Parse for TypeArray[src]

impl Parse for TypeBareFn[src]

impl Parse for TypeGroup[src]

impl Parse for TypeImplTrait[src]

impl Parse for TypeInfer[src]

impl Parse for TypeMacro[src]

impl Parse for TypeNever[src]

impl Parse for TypeParam[src]

impl Parse for TypeParen[src]

impl Parse for TypePath[src]

impl Parse for TypePtr[src]

impl Parse for TypeReference[src]

impl Parse for TypeSlice[src]

impl Parse for TypeTraitObject[src]

impl Parse for TypeTuple[src]

impl Parse for Variant[src]

impl Parse for WhereClause[src]

impl Parse for Abstract[src]

impl Parse for Add[src]

impl Parse for AddEq[src]

impl Parse for And[src]

impl Parse for AndAnd[src]

impl Parse for AndEq[src]

impl Parse for As[src]

impl Parse for Async[src]

impl Parse for At[src]

impl Parse for Auto[src]

impl Parse for Await[src]

impl Parse for Bang[src]

impl Parse for Become[src]

impl Parse for syn::token::Box[src]

impl Parse for Break[src]

impl Parse for Caret[src]

impl Parse for CaretEq[src]

impl Parse for Colon[src]

impl Parse for Colon2[src]

impl Parse for Comma[src]

impl Parse for Const[src]

impl Parse for Continue[src]

impl Parse for Crate[src]

impl Parse for Default[src]

impl Parse for Div[src]

impl Parse for DivEq[src]

impl Parse for Do[src]

impl Parse for Dollar[src]

impl Parse for Dot[src]

impl Parse for Dot2[src]

impl Parse for Dot3[src]

impl Parse for DotDotEq[src]

impl Parse for Dyn[src]

impl Parse for Else[src]

impl Parse for Enum[src]

impl Parse for Eq[src]

impl Parse for EqEq[src]

impl Parse for Extern[src]

impl Parse for FatArrow[src]

impl Parse for Final[src]

impl Parse for Fn[src]

impl Parse for For[src]

impl Parse for Ge[src]

impl Parse for Gt[src]

impl Parse for If[src]

impl Parse for Impl[src]

impl Parse for In[src]

impl Parse for LArrow[src]

impl Parse for Le[src]

impl Parse for Let[src]

impl Parse for Loop[src]

impl Parse for Lt[src]

impl Parse for syn::token::Macro[src]

impl Parse for Match[src]

impl Parse for Mod[src]

impl Parse for Move[src]

impl Parse for MulEq[src]

impl Parse for Mut[src]

impl Parse for Ne[src]

impl Parse for Or[src]

impl Parse for OrEq[src]

impl Parse for OrOr[src]

impl Parse for Override[src]

impl Parse for Pound[src]

impl Parse for Priv[src]

impl Parse for Pub[src]

impl Parse for Question[src]

impl Parse for RArrow[src]

impl Parse for Ref[src]

impl Parse for Rem[src]

impl Parse for RemEq[src]

impl Parse for Return[src]

impl Parse for SelfType[src]

impl Parse for SelfValue[src]

impl Parse for Semi[src]

impl Parse for Shl[src]

impl Parse for ShlEq[src]

impl Parse for Shr[src]

impl Parse for ShrEq[src]

impl Parse for Star[src]

impl Parse for Static[src]

impl Parse for Struct[src]

impl Parse for Sub[src]

impl Parse for SubEq[src]

impl Parse for Super[src]

impl Parse for Tilde[src]

impl Parse for Trait[src]

impl Parse for Try[src]

impl Parse for syn::token::Type[src]

impl Parse for Typeof[src]

impl Parse for Underscore[src]

impl Parse for Union[src]

impl Parse for Unsafe[src]

impl Parse for Unsized[src]

impl Parse for Use[src]

impl Parse for Virtual[src]

impl Parse for Where[src]

impl Parse for While[src]

impl Parse for Yield[src]

Loading content...