Docs.rs
attribution-0.5.0
attribution 0.5.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
chuck-flowers
Dependencies
attribution-macros ^0.5.0
normal
proc-macro2 ^1.0.0
normal
quote ^1.0.0
normal
syn ^1.0.0
normal
syn ^1.0.0
dev
Versions
53.33%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
attribution
0.5.0
All Items
Crate Items
Structs
Enums
Traits
Derive Macros
Crate
attribution
Copy item path
Source
Structs
§
Dynamic
Parameters
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
§
From
Parameters
Error
An error that occurs as a result of a failed conversion of a
Parameters
struct
Param
Val
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
§
From
Parameters
A trait that is used to extract data from a
Parameters
struct.
Derive Macros
§
Attr
Args
The derive macro that is used to generate the parsing logic for a struct representing the parameters for an attribute.