Trait parsel::Parse

source ·
pub trait Parse: Sized {
    fn parse(input: &ParseBuffer<'_>) -> Result<Self, Error>;
}
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