pub trait EasyArgument: EasyPeek {
    fn name_display() -> &'static str;
    fn name_span(&self) -> Span;
}
Expand description

Trait for parsable arguments. Arguments have a token as a name that is used for peeking. Name of the argument can be displayed for user in some error cases.

Required Methods

Returns attribute name for display purposes.

Returns attribute name for display purposes.

Implementors