[][src]Crate attribution

Structs

DynamicParameters

An object that is used to aggregate any remaining parameters into the struct tagged with attribution::attr_args.

Parameters

Represents the mapping of parameter names to parameter values.

Enums

FromParametersError

An error that occurs as a result of a failed conversion of a Parameters struct

ParamVal

Represents a value for a parameter name within Parameters struct. The parameter value is the value that appears to the right of the equal sign (e.g. "value" is the ParamVal in the following example #[example(name = "value")])

Traits

FromParameters

A trait that is used to extract data from a Parameters struct.

Derive Macros

AttrArgs

The derive macro that is used to generate the parsing logic for a struct representing the parameters for an attribute.