Trait proc_easy::EasyArgument
source · [−]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
fn name_display() -> &'static str
fn name_display() -> &'static str
Returns attribute name for display purposes.