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

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

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

Refer to the module documentation for details about implementing and using the Parse trait.

Required methods

Implementations on Foreign Types

Implementors

impl Parse for DebugName

impl Parse for AttrArgs