Trait syn::parse::Parse [−][src]
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>
Implementations on Foreign Types
impl Parse for Option<BoundLifetimes>
[src]
impl Parse for Option<BoundLifetimes>
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl Parse for Option<WhereClause>
[src]
impl Parse for Option<WhereClause>
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl Parse for Option<Abi>
[src]
impl Parse for Option<Abi>
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl<T: Parse> Parse for Box<T>
[src]
impl<T: Parse> Parse for Box<T>
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl<T: Parse + Token> Parse for Option<T>
[src]
impl<T: Parse + Token> Parse for Option<T>
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl Parse for TokenStream
[src]
impl Parse for TokenStream
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl Parse for TokenTree
[src]
impl Parse for TokenTree
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl Parse for Group
[src]
impl Parse for Group
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl Parse for Punct
[src]
impl Parse for Punct
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
impl Parse for Literal
[src]
impl Parse for Literal
fn parse(input: ParseStream) -> Result<Self>
[src]
fn parse(input: ParseStream) -> Result<Self>
Implementors
impl Parse for Underscore
impl Parse for Abstract
impl Parse for As
impl Parse for Async
impl Parse for Auto
impl Parse for Become
impl Parse for syn::token::Box
impl Parse for Break
impl Parse for CapSelf
impl Parse for Const
impl Parse for Continue
impl Parse for Crate
impl Parse for Default
impl Parse for Do
impl Parse for Dyn
impl Parse for Else
impl Parse for Enum
impl Parse for Existential
impl Parse for Extern
impl Parse for Final
impl Parse for Fn
impl Parse for For
impl Parse for If
impl Parse for Impl
impl Parse for In
impl Parse for Let
impl Parse for Loop
impl Parse for syn::token::Macro
impl Parse for Match
impl Parse for Mod
impl Parse for Move
impl Parse for Mut
impl Parse for Override
impl Parse for Priv
impl Parse for Pub
impl Parse for Ref
impl Parse for Return
impl Parse for Self_
impl Parse for Static
impl Parse for Struct
impl Parse for Super
impl Parse for Trait
impl Parse for Try
impl Parse for syn::token::Type
impl Parse for Typeof
impl Parse for Union
impl Parse for Unsafe
impl Parse for Unsized
impl Parse for Use
impl Parse for Virtual
impl Parse for Where
impl Parse for While
impl Parse for Yield
impl Parse for Add
impl Parse for AddEq
impl Parse for And
impl Parse for AndAnd
impl Parse for AndEq
impl Parse for At
impl Parse for Bang
impl Parse for Caret
impl Parse for CaretEq
impl Parse for Colon
impl Parse for Colon2
impl Parse for Comma
impl Parse for Div
impl Parse for DivEq
impl Parse for Dollar
impl Parse for Dot
impl Parse for Dot2
impl Parse for Dot3
impl Parse for DotDotEq
impl Parse for Eq
impl Parse for EqEq
impl Parse for Ge
impl Parse for Gt
impl Parse for Le
impl Parse for Lt
impl Parse for MulEq
impl Parse for Ne
impl Parse for Or
impl Parse for OrEq
impl Parse for OrOr
impl Parse for Pound
impl Parse for Question
impl Parse for RArrow
impl Parse for LArrow
impl Parse for Rem
impl Parse for RemEq
impl Parse for FatArrow
impl Parse for Semi
impl Parse for Shl
impl Parse for ShlEq
impl Parse for Shr
impl Parse for ShrEq
impl Parse for Star
impl Parse for Sub
impl Parse for SubEq
impl Parse for Tilde
impl Parse for Ident
impl Parse for Variant
impl Parse for FieldsNamed
impl Parse for FieldsUnnamed
impl Parse for Visibility
impl Parse for Expr
impl Parse for ExprPath
impl Parse for Member
impl Parse for Index
impl Parse for Generics
impl Parse for GenericParam
impl Parse for LifetimeDef
impl Parse for BoundLifetimes
impl Parse for TypeParam
impl Parse for TypeParamBound
impl Parse for TraitBound
impl Parse for TraitBoundModifier
impl Parse for ConstParam
impl Parse for WhereClause
impl Parse for WherePredicate
impl Parse for Lifetime
impl Parse for Lit
impl Parse for LitStr
impl Parse for LitByteStr
impl Parse for LitByte
impl Parse for LitChar
impl Parse for LitInt
impl Parse for LitFloat
impl Parse for LitBool
impl Parse for syn::Macro
impl Parse for DeriveInput
impl Parse for BinOp
impl Parse for UnOp
impl Parse for syn::Type
impl Parse for TypeSlice
impl Parse for TypeArray
impl Parse for TypePtr
impl Parse for TypeReference
impl Parse for TypeBareFn
impl Parse for TypeNever
impl Parse for TypeInfer
impl Parse for TypeTuple
impl Parse for TypeMacro
impl Parse for TypePath
impl Parse for ReturnType
impl Parse for TypeTraitObject
impl Parse for TypeImplTrait
impl Parse for TypeGroup
impl Parse for TypeParen
impl Parse for BareFnArg
impl Parse for BareFnArgName
impl Parse for Abi
impl Parse for Path
impl Parse for GenericArgument
impl Parse for AngleBracketedGenericArguments
impl Parse for ParenthesizedGenericArguments
impl Parse for PathSegment
impl Parse for Binding