Struct proc_macro_kwargs::args::ParsedKeywordArguments [−][src]
pub struct ParsedKeywordArguments<K: MacroKeywordArgs> { /* fields omitted */ }
Expand description
The list of parsed keyword arguments
Implementations
Lookup a argument by its id,
returning None
if it’s missing
Consume the argument with the specified id,
returning None
if it’s missing
Implicitly shifts the ordering of the map.
Require that the argument with the specified id exists, returning an error if it is missing
Consumes the argument, as if calling take
Iterate over the original list of arguments, in the order of their declaration
Trait Implementations
Parse the argument to the macro