Macro std::prelude::v1::derive_const

source ·
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.