Struct proc_macro_kwargs::args::KeywordArg [−][src]
pub struct KeywordArg<K: MacroKeywordArgs> { pub name: Ident, pub id: K::ArgId, pub value: K::ParsedArg, }
Expand description
A parsed argument, along with its original name and id.
Fields
name: Ident
The name of this argument,
as a Ident
This is needed in addition to id
,
because it contains a Span
id: K::ArgId
The id of this argument
value: K::ParsedArg
The parsed value of this argument