pub trait Parse: Sized {
// Required method
fn parse(input: ParseStream<'_>) -> Result<Self>;
}
Available on crate feature
parsing
only.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.