pub macro derive_const($item:item) {
    ...
}
🔬This is a nightly-only experimental API. (derive_const)
Expand description

Attribute macro used to apply derive macros for implementing traits in a const context.

See the reference for more info.