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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.