Trait proc_easy::EasyArgument
source · [−]pub trait EasyArgument: EasyPeek {
fn name_display() -> &'static str;
fn name_span(&self) -> Span;
}
Expand description
Trait for parsable attributes. Attributes should be peekable to choose which attribute to parse.
Required Methods
fn name_display() -> &'static str
fn name_display() -> &'static str
Returns attribute name for display purposes.