Docs.rs
setty-derive-0.3.9
setty-derive 0.3.9
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
sergiimk
Dependencies
proc-macro2 ^1
normal
quote ^1
normal
syn ^2
normal
Versions
60%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate setty_derive
setty_
derive
0.3.9
All Items
Crate Items
Attribute Macros
Derive Macros
Crate
setty_
derive
Copy item path
Source
Attribute Macros
§
__erase
derive
Special version of
#[derive(..)]
macro. Works just like the standard one, except it will de-duplicate the derives expanded from
Config
and explicit ones.
Derive Macros
§
Config
Our main workhorse. Derives the attributes based on the set of enabled crate features.
Default
Special version of built-in
#[derive(Default)]
that recognizes
#[config(default = $expr)]
attributes