[−][src]Crate amplify_derive_helpers
Amplifying Rust language capabilities: helper functions for creating proc macro libraries
Examples
#[name]
- single form
#[name = "literal"]
- optional single value
#[name = TypeName]
#[name("literal", TypeName)]
- list of arguments
Structs
AttrReq | Structure requirements for parametrized attribute |
ParametrizedAttr | Representation for all allowed forms of |
SingularAttr | Structure describing a procedural macro attribute with an optional value.
The means that if one has something like |
Enums
ArgValue | Value for attribute or attribute argument, i.e. for |
Attr | Structure representing internal structure of collected instances of a proc
macro attribute having some specific name (accessible via |
Error | Errors representing inconsistency in proc macro attribute structure |
ListReq | |
LitReq | |
ValueReq | Requirements for attribute or named argument value presence |
Traits
ExtractAttr |